bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27763: egrep.sh: grep missing path


From: Santiago Ruano Rincón
Subject: bug#27763: egrep.sh: grep missing path
Date: Wed, 19 Jul 2017 14:05:54 +0200

El 19/07/17 a las 02:56, Paul Eggert escribió:
> Santiago Ruano Rincón wrote:
> 
> > As suggested by this user, it would be better if egrep/fgrep script
> > calls grep using its absolute path.
> 
> Debian bug 863002 doesn't explain why it would be better, as the original
> bug report is evidently a case of misunderstanding how PATH works.

The bug submitter sent me I private mail about that. I let him explain
it publicly answering to this mail.
For me, "it would be better" just because it makes egrep/fgrep call the
grep installed by the package. 

> Although we used to do it the way you're suggesting, the current way is
> better for users who want to specify their own 'grep' command with their own
> option preferences, and to have these preferences also apply to 'egrep' and
> 'fgrep'. See:
> 
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19998

That makes sense.

Thanks for your answer,

Santiago





reply via email to

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