[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grep patch
From: |
Stepan Koltsov |
Subject: |
Re: grep patch |
Date: |
Fri, 18 Jan 2002 00:41:49 +0300 |
User-agent: |
Mutt/1.3.25i |
On Thu, Jan 17, 2002 at 01:11:06PM -0800, Paul Eggert wrote:
> > 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:,"
It works bad when I use grep with options such as -C
> > 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.
This options used often because grep has it. My option also increase
perfomance.
OK, OK, if you think, that it is unusable option, let it will not be
(sorry my bad English).
--
mailto:address@hidden
irc.openprojects.net/#debian-russian
- 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, 2002/01/17
- Re: grep patch,
Stepan Koltsov <=
- 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
- Re: grep patch, Miles Bader, 2002/01/19