[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grep patch
From: |
Paul Eggert |
Subject: |
Re: grep patch |
Date: |
Thu, 17 Jan 2002 13:11:06 -0800 (PST) |
> Date: Thu, 17 Jan 2002 22:22:08 +0300
> From: Stepan Koltsov <address@hidden>
> grep --fake-filename=$fn -H pattern
> is simpler (easier to read) then
> grep -H pattern | sed 's,(ÓÔÁÎÄÁÒÔÎÙÊ ××ÏÄ)',$fn,
But it's not simpler than
grep -h pattern | sed "s,^,$fn:,"
> BTW I don't understand, for what purposes option --recursive presents
> in grep, it is less handy option, then --fake-filename=, because I can
> write
> find * -type f | xargs grep -H ...
grep -r is used often enough that it's reasonable to have as an
option, both for convenience and performance.
- grep patch, Stepan Koltsov, 2002/01/17
- Re: grep patch, Andreas Schwab, 2002/01/17
- Re: grep patch, Paul Eggert, 2002/01/17
- Re: grep patch, Stepan Koltsov, 2002/01/17
- Re: grep patch,
Paul Eggert <=
- 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, 2002/01/18
- Re: grep patch, Stepan Koltsov, 2002/01/19