[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: egrep: question

From: Michael Elizabeth Chastain
Subject: Re: egrep: question
Date: Thu, 11 Dec 2003 01:00:24 -0500 (EST)

Bob Proulx writes:
Bob> Of course I am sure you can do it in sed.  But the way to have the
Bob> process repeat for multiple sets of start and stop blocks escapes me
Bob> at this moment.

The sed way is like the awk way:

  sed -n -e '/start/,/stop/p'

Not surprising.  I think sed came before awk.  And sed definitely
got that syntax from Ed, The Standard Text Editor.  Fire up an
"ed" and try it!

Michael C

reply via email to

[Prev in Thread] Current Thread [Next in Thread]