a Sed question

Christophe Muller muller at mirsa.UUCP
Fri Feb 2 07:34:09 AEST 1990


That might be a stupid question, but does somebody know how to 
do that job with "sed" ? I wanted to find all the lines matching a
pattern, delete these lines _and_ the line immediately following.

After half an hour of tests, man, Unix books, i gave up and used a
small awk script that worked well the first time ! I just thought that
sed might be faster, but is it possible ? (Note: we still don't have
perl...)

   Cheers,
               Christophe.

-- Important: e-mail address is: muller at phoenix.src.umd.edu --



More information about the Comp.unix.questions mailing list