Re: [ILUG] Filtering a file.

From: Gavin McCullagh (ilug_gmc at domain fiachra.ucd.ie)
Date: Wed 10 Jul 2002 - 16:40:17 IST


argh. Got round to testing that. I thought -A 1 would invert it's sense
(ie ignore trailing lines) but it doesn't.

Gavin

On Wed, 10 Jul 2002, Gavin McCullagh wrote:

> untested but should be close if no cigar. Corrections welcome as always.
>
> grep -v -A 1 --regexp='^\/XXX\/'



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