[Top][All Lists]

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

bug#27763: egrep.sh: grep missing path

From: Paul Eggert
Subject: bug#27763: egrep.sh: grep missing path
Date: Wed, 19 Jul 2017 02:56:24 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

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.

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:


reply via email to

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