[Top][All Lists]

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

grep branch, master, updated. v2.21-22-g18af0c4

From: Paul Eggert
Subject: grep branch, master, updated. v2.21-22-g18af0c4
Date: Thu, 12 Mar 2015 00:56:09 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  18af0c4ad225785439af21ff0d5c8e6dc78dddf3 (commit)
      from  beff6077b16bb0546ca8f705b011bc0b57f8d14f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit 18af0c4ad225785439af21ff0d5c8e6dc78dddf3
Author: Paul Eggert <address@hidden>
Date:   Wed Mar 11 17:55:37 2015 -0700

    egrep, fgrep: just use what's in PATH
    * src/ Don't monkey with PATH; just use whatever 'grep'
    is in the path.  This is simpler, and lets the user specify
    default options with a script for only grep, with no need for
    egrep and fgrep scripts.
    Fixes: bug#19998

diff --git a/src/ b/src/
index 1a03d2a..6d6c15a 100644
--- a/src/
+++ b/src/
@@ -1,11 +1,2 @@
-case $0 in
-  */*)
-    dir=${0%/*}
-    if test -x "$dir/@grep@"; then
-      PATH=$dir:$PATH
-      address@hidden@
-    fi;;
-exec $grep @option@ "$@"
+exec @grep@ @option@ "$@"


Summary of changes:
 src/ |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)


reply via email to

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