Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Aug 2008 15:26:38 -0500
From:      Paul Schmehl <pschmehl_lists@tx.rr.com>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: bsd-grep-20080725_1 -v flag busted...
Message-ID:  <24E2FE8AA9A40D2EE14DF4F7@utd65257.utdallas.edu>
In-Reply-To: <20080804201806.GA50143@nagual.pp.ru>
References:  <56E45E0F-29D4-4CA8-9936-384405AB874A@mac.com> <4897518D.4090001@FreeBSD.org> <20080804201806.GA50143@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
--On Tuesday, August 05, 2008 00:18:07 +0400 Andrey Chernov <ache@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@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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?24E2FE8AA9A40D2EE14DF4F7>