A little help with SED please - clarifications.

Rodrigo Murillo murillo at sigi.Colorado.EDU
Tue Apr 19 16:14:18 AEST 1988


Gentle readers:

A clarifiction to my previous posting.

I need an sed line (or some gory pipeline) to extract the data between
BEGIN and END.

I should have added the following:

	>I have a text file of this form:
	    [... junk ...]
	>   BEGIN
	>     1
	>     2
	>     3
	>   END
	    [... junk ...]
	>   BEGIN
	>     4
	>     5
	>     6
	>   END
	    [... junk ...]

Add to that the fact that the data between BEGIN...END is really not
plain sequential numbers; it is random text.  Sorry I was not more
clear.  If you have a SED line to deal with the above, I would love to 
see it.  Thanks.
-- 
_______________________________________________________________________________
 Rodrigo Murillo, University of Colorado - Boulder  (303) 761-0410 
 murillo at boulder.colorado.edu | ..{ncar|nbires}!boulder!murillo
 ( Machines have less problems.  I'd like to be a machine. -- Andy Warhol )



More information about the Comp.unix.wizards mailing list