[Nix-dev] Re: my first Nixpkgs patches

Ludovic Courtès ludo at gnu.org
Tue Mar 30 12:14:58 CEST 2010


Lluís Batlle <viriketo at gmail.com> writes:

> 2010/3/30 Ludovic Courtès <ludo at gnu.org>:
>> Saluton,
>>
>> Lluís Batlle <viriketo at gmail.com> writes:
>>
>>> sed -n /whattosearch/p ...
>>>
>>> this works much faster than grep or fgrep, btw.
>>
>> But it doesn’t search recursively AFAICS.  :-)
> There is always $(find ... )

But then it's as slow as grep -r, unless you exclude file name patterns
as well.

Ludo'.



More information about the nix-dev mailing list