Xref: utzoo comp.unix.questions:6630 comp.unix.wizards:7863 Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!sunybcs!boulder!murillo From: murillo@sigi.Colorado.EDU (Rodrigo Murillo) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: A little help with SED please - clarifications. Message-ID: <5490@sigi.Colorado.EDU> Date: 19 Apr 88 06:14:18 GMT Reply-To: murillo@boulder.Colorado.EDU (Rodrigo Murillo) Distribution: na Organization: University of Colorado, Boulder Lines: 33 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@boulder.colorado.edu | ..{ncar|nbires}!boulder!murillo ( Machines have less problems. I'd like to be a machine. -- Andy Warhol )