Re: grep(1) bug - duplicate output lines

From: Jamie Landeg-Jones <jamie_at_catflap.org>
Date: Fri, 29 Sep 2023 18:25:23 UTC
Jamie Landeg-Jones <jamie@catflap.org> wrote:

> Brilliant! Thanks for the quick response and fix. It works fine for me -
> I've not managed to break it again :-)

Famous last words....

"grep -v" now produces duplicate lines! e.g. :

 | % grep -v sdjdjdjd /COPYRIGHT|head
 | #       @(#)COPYRIGHT   8.2 (Berkeley) 3/21/94
 | #       @(#)COPYRIGHT   8.2 (Berkeley) 3/21/94
 | 
 | 
 | The compilation of software known as FreeBSD is distributed under the
 | The compilation of software known as FreeBSD is distributed under the
 | following terms:
 | following terms:

Cheers, Jamie