[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grep patch
From: |
Kris Warkentin |
Subject: |
Re: grep patch |
Date: |
Fri, 18 Jan 2002 12:22:16 -0500 |
----- Original Message -----
From: "Stepan Koltsov" <address@hidden>
To: "Alain Magloire" <address@hidden>
Cc: <address@hidden>; "Paul Eggert" <address@hidden>;
<address@hidden>
Sent: Friday, January 18, 2002 11:54 AM
Subject: Re: grep patch
> On Fri, Jan 18, 2002 at 09:27:22AM -0500, Alain Magloire wrote:
> ...
...
> >as been part of 2.5e(should in 2.5f) for sometimes.
> > They were not meant to replace find, but rather a quicker way to
> > express this particular idiom.
>
> Maybe more proper way is to modify grep, allowing it to take filelist
> from file, including stdin? Then we can do something like:
>
> find . -name '*.h' | grep --filelist=- pattern
> or even
> find . -name '*.h' -print0 | grep --filelist0=- pattern
>
> Find will find, grep will grep, perfomace will be good :-)
find . -name '*.h' | xargs grep pattern
>
> --
> mailto:address@hidden
> irc.openprojects.net/#debian-russian
>
> _______________________________________________
> Bug-gnu-utils mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-gnu-utils
>
- Re: grep patch, (continued)
- Re: grep patch, Stepan Koltsov, 2002/01/18
- Re: grep patch, Alain Magloire, 2002/01/18
- Message not available
- Re: grep patch, Stepan Koltsov, 2002/01/18
- Re: grep patch, Andreas Schwab, 2002/01/18
- Re: grep patch, Stepan Koltsov, 2002/01/19
- Re: grep patch, Miles Bader, 2002/01/19
- Re: grep patch, Stepan Koltsov, 2002/01/19
- Re: grep patch,
Kris Warkentin <=
- Re: grep patch, Alain Magloire, 2002/01/17
Re: grep patch, Bernhard Rosenkraenzer, 2002/01/18
Re: grep patch, Paul Eggert, 2002/01/18