|
sed to take 3 lines with same variable: msg#00037editors.sed.user
Hi, i got an input file like this Header: One Subject:geography Text:passed Header:Two Header:Three Subject:physic Text:failed Header:Four Text:passed I need to produce the output like: Header: One Subject:geography Text:passed Header:Three Subject:physic Text:failed I need to get 3 line that containing sequences with Header,Subject and Text any ideas? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/u8TY5A/tzNLAA/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> |
|---|---|---|
| Previous by Date: | Re: can sed take take several line to produce multiple output: 00037, shamrul ismawi |
|---|---|
| Next by Date: | Re: sed to take 3 lines with same variable: 00037, Angus Leeming |
| Previous by Thread: | Re: Checking the version of sed you havei: 00037, pemente |
| Next by Thread: | Re: sed to take 3 lines with same variable: 00037, Angus Leeming |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |