logo       

Re: sed to take 3 lines with same variable: msg#00039

editors.sed.user

Subject: Re: sed to take 3 lines with same variable

--- In sed-users@xxxxxxxxxxxxxxx, shamrul ismawi <abb4h@xxxx> wrote:

> I need to get 3 line that containing sequences with
> Header,Subject and Text
>
> any ideas?

Read the sed FAQ (http://sed.sourceforge.net/sedfaq.html).

# 4.23. How do I match a block of specific consecutive lines?
http://sed.sourceforge.net/sedfaq4.html#s4.23

--
Eric Pement





------------------------ Yahoo! Groups Sponsor --------------------~-->
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/WpTY2A/izNLAA/yQLSAA/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