bug-grep
[Top][All Lists]
Advanced

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

Re: Possible Bug with -v grep flag


From: Paolo Bonzini
Subject: Re: Possible Bug with -v grep flag
Date: Mon, 24 Oct 2011 15:43:04 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0

On 10/21/2011 10:42 PM, Ramos, Jaime (H USA) (EXT) wrote:
Is it true there is a restriction on syntax such as

grep -v a -v e -v i -v o -u T1.txt

from my experimentation it seems as if I can only invoke one -v flag at
once, without ANY other patterns, that we do want to match. To get
functionality like this I'm having to use the pipe command |

-v is a boolean flag.  What you want is

grep -ve a -e e -e i -e o -e u T1.txt

Paolo



reply via email to

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