Re: [Clip] Re: Searching with Boolean Expressions
- Duh! I need more sleep. Or need to grow younger.
I had just read that an hour earlier.
In one eye and out the hole in my head!!!
At 05/17/2011 07:49, diodeom wrote:
> > So to accomplish your expression use FINDSTR three times - once to
> > extract all "x"s, then to exclude all "y"s and finally to exclude all "z"s
> > piping the output each time to the next step. Each pipe is like an AND.
> > findstr x | findstr /v y | findstr /v z
>One can find lines not containing y's or z's in one shot by findstr /v "y
>z" where the space serves as OR in this notation. (By contrast, the
>following locates any lines without the literal "y z" string: findstr /v