[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

OK, OK, if you think, that it is unusable option, let it will not be
(sorry my bad English).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]