grep-commit
[Top][All Lists]
Advanced

[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 -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=18af0c4ad225785439af21ff0d5c8e6dc78dddf3


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/egrep.sh: 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/egrep.sh b/src/egrep.sh
index 1a03d2a..6d6c15a 100644
--- a/src/egrep.sh
+++ b/src/egrep.sh
@@ -1,11 +1,2 @@
 address@hidden@
-grep=grep
-case $0 in
-  */*)
-    dir=${0%/*}
-    if test -x "$dir/@grep@"; then
-      PATH=$dir:$PATH
-      address@hidden@
-    fi;;
-esac
-exec $grep @option@ "$@"
+exec @grep@ @option@ "$@"

-----------------------------------------------------------------------

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


hooks/post-receive
-- 
grep



reply via email to

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