bsd-grep-20080725_1 -v flag busted...

Paul Schmehl pschmehl_lists at tx.rr.com
Mon Aug 4 20:55:12 UTC 2008


--On Tuesday, August 05, 2008 00:18:07 +0400 Andrey Chernov <ache at nagual.pp.ru> 
wrote:

> On Mon, Aug 04, 2008 at 08:59:25PM +0200, G?bor K?vesd?n wrote:
>> thanks for your notes. It seems very strange to me, because GNU grep
>> produces the same output for me. Apart from this, the -v flag was really
>> broken, but I applied some fixes before updating the port and in the
>> version, which I committer, I thought that the -v flag was compatible.
>>
>> Here is what I get at the moment:
>>
>>  > echo 'fee\nfi\nfoe\nfum' | ./grep -v fi
>>  > echo 'fee\nfi\nfoe\nfum' | /usr/bin/grep -v fi
>
> Example is broken, echo (for sh) supposed to be
>
> echo 'fee
> fi
> foe
> fum' | ...

Are you sure it's grep that's broken?

pauls at utd65257# echo 'fee\nfi\nfoe\nfum'
fee\nfi\nfoe\nfum

-- 
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
*******************************************
Check the headers before clicking on Reply.



More information about the freebsd-ports mailing list