Matching word and save text line

"mailbox20112002-SED" <[email protected]>
Newsgroups gmane.editors.sed.user
Message-ID <9EB34D0EFFE946258C3C6C74438BD1C0@CentrinoDuo>

Hi all

It possible with Sed, matching one word, or more word in single line: YES
and  saving, in other file the X lines previous, and the Y following lines?

You have any example?


Thanks

Regards
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.