BSD grep fixes

Gabor Kovesdan gabor at FreeBSD.org
Wed Jul 28 19:38:57 UTC 2010


Em 2010.07.28. 17:48, Dag-Erling Smørgrav escreveu:
> Gabor Kovesdan<gabor at FreeBSD.org>  writes:
>    
>> b. f.<bf1783 at gmail.com>  writes:
>>      
>>> I don't think that the current behavior of bsdgrep is necessarily bad
>>> -- in fact it seems to me to be simple and intuitive: nothing is
>>> excluded or included implicitly, and (I think) the last match wins,
>>> unlike in gnu grep.
>>>        
>> Ok, thanks, then I'll just document it.
>>      
> Uh, no.  GNU grep's behavior is consistent with just about everything
> else that has --include / --exclude options, e.g. tar and rsync.  Please
> change BSD grep's behavior to match GNU grep's.
>    
Ok, thanks for mentioning this. I already have a patch to implement the 
same behaviour, I'll discuss it with my mentor and fix soon.

Gabor



More information about the freebsd-current mailing list