On Tue, 2003-08-19 at 17:05, Tony S. Sykes wrote:
> "ed" be able to do this? I am not looking for you to write the script,
> just pointers as to what commands I could use. So far I have got the
> grep done "grep -a '@(#)' <file>" but it's what I do to the line after
> that.

Perhaps it is an idea to limit the length of the remaining file to about
100 chars by piping the result of grep to cut? And from there you could
use sed or ed to snip out what you need.
Paul 

-- 
A good programmer is someone who looks both ways 
before crossing a one-way street. 
- Doug Linder 

http://www.nlpagan.net - Linux Mandrake - Ximian Evolution


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to