summaryrefslogtreecommitdiffstats
path: root/zegrep.in
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 16:11:02 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 16:11:02 +0000
commit4e47773f0570bdffefd062b85265242f9f13ef96 (patch)
tree815a38d504a9005ddd7f548c0067a43172f05a02 /zegrep.in
parentAdding upstream version 0.3. (diff)
downloadzutils-4e47773f0570bdffefd062b85265242f9f13ef96.tar.xz
zutils-4e47773f0570bdffefd062b85265242f9f13ef96.zip
Adding upstream version 0.4.upstream/0.4
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
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 "$@"