bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grep -v -U 'pattern' filename matches files that do have 'pattern' a


From: Matthew Wakeling
Subject: Re: grep -v -U 'pattern' filename matches files that do have 'pattern' as well as ones that don't
Date: Wed, 27 May 2009 15:30:33 +0100 (BST)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

On Mon, 25 May 2009, Paul Pomes DVM wrote:
grep -v -U replaygain_album_gain *flac                    prints

...

which is the same output produced as expected by
grep -U replaygain_album_gain *flac

This is a FAQ, and not a bug. Please RTFM. There are presumably lines in the input files that do not match your pattern, meaning the file matches.
You probably want the "-L" option instead.

Matthew

--
"Interwoven alignment preambles are not allowed."
If you have been so devious as to get this message, you will understand
it, and you deserve no sympathy.  -- Knuth, in the TeXbook




reply via email to

[Prev in Thread] Current Thread [Next in Thread]