[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grep patch
From: |
Bernhard Rosenkraenzer |
Subject: |
Re: grep patch |
Date: |
Fri, 18 Jan 2002 14:15:29 +0100 (CET) |
On Thu, 17 Jan 2002, Stepan Koltsov wrote:
> This is diff, that add option --fake-filename= for grep 2.5f, it prints
> specified filename instead of real.
Thanks. I'm committing a variant of your patch to CVS.
To the people claiming it's not necessary and people should just use sed:
Yes, people can just use sed, but having the feature doesn't hurt (it's
not like it requires 10 kB of code that will bloat the whole system), and
piping output to sed automatically disables some features (--color).
I think the option (which I've renamed to --label for compatibility with
diff) makes sense e.g. for use in zgrep, bzgrep and the likes.
LLaP
bero
--
This message is provided to you under the terms outlined at
http://www.bero.org/terms.html
- Re: grep patch, (continued)
- 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, 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, 2002/01/18
- Re: grep patch, Alain Magloire, 2002/01/17
Re: grep patch,
Bernhard Rosenkraenzer <=
Re: grep patch, Paul Eggert, 2002/01/18