[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grep patch
From: |
Andreas Schwab |
Subject: |
Re: grep patch |
Date: |
Fri, 18 Jan 2002 18:07:54 +0100 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.30 (ia64-suse-linux) |
address@hidden (Stepan Koltsov) writes:
|> 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
This is shorter to type :-)
find . -name '*.h' | xargs grep -H pattern
find . -name '*.h' -print0 | xargs -0 grep -H pattern
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- Re: grep patch, (continued)
- Re: grep patch, Stepan Koltsov, 2002/01/17
- Re: grep patch, Paul Eggert, 2002/01/17
- Re: grep patch, Stepan Koltsov, 2002/01/17
- Re: grep patch, Paul Eggert, 2002/01/17
- Re: grep patch, Miles Bader, 2002/01/17
- Re: grep patch, Paul Eggert, 2002/01/18
- Re: grep patch, Miles Bader, 2002/01/18
- 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 <=
- 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, 2002/01/18
- Re: grep patch, Alain Magloire, 2002/01/17
Re: grep patch, Bernhard Rosenkraenzer, 2002/01/18
Re: grep patch, Paul Eggert, 2002/01/18