logo       

Stingily extracting a block of lines: msg#00013

editors.sed.user

Subject: Stingily extracting a block of lines

I want to extract a range of lines beginning with the word 'bundle' and ending
with the word '.eml,'. The 'bundle' delimiter will occur repeatedly throughout
the file, so I want to use the most recent instance (greedy).

How would I do it using sed?

-- Gnarlie







------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/dkFolB/TM
--------------------------------------------------------------------~->

--

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/sed-users/

<*> To unsubscribe from this group, send an email to:
sed-users-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/






<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise