RE: [ILUG] Filtering a file.

From: Aherne Peter-pahern02 (peter.aherne at domain motorola.com)
Date: Thu 11 Jul 2002 - 16:14:29 IST


The following does the trick for me, since I decided I did not want the
black line after the matched records.

sed '/\/XXX\/ CE/,/^$/d'

Thanks to you all, got what needed to be done done and learned alot about
sed on the way.

Cheers,
Peter.

--
Peter Aherne, Software Engineer, Motorola Ireland Ltd.
http://www.skynet.ie/~peter - peter at domain linux.ie
Ph: +353 21 4511234 Mobile: +353 87 2246834


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:50 GMT