summaryrefslogtreecommitdiffstats
path: root/zegrep.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--zegrep.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/zegrep.in b/zegrep.in
new file mode 100644
index 0000000..0cac12e
--- /dev/null
+++ b/zegrep.in
@@ -0,0 +1,3 @@
+#! /bin/sh
+bindir=`echo "$0" | sed -e 's,[^/]*$,,'`
+exec "${bindir}"zgrep -E "$@"