summaryrefslogtreecommitdiffstats
path: root/zgrep.in
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-08 04:17:11 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-08 04:17:11 +0000
commit92411a5d4d0083722696abf6fdfcc8f1c894a150 (patch)
tree6537ba2692e058862caa756938bc00df8462deaf /zgrep.in
parentAdding debian version 0.7-1. (diff)
downloadzutils-92411a5d4d0083722696abf6fdfcc8f1c894a150.tar.xz
zutils-92411a5d4d0083722696abf6fdfcc8f1c894a150.zip
Merging upstream version 0.8~rc1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'zgrep.in')
-rw-r--r--zgrep.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/zgrep.in b/zgrep.in
index 3298646..dbcb58c 100644
--- a/zgrep.in
+++ b/zgrep.in
@@ -14,7 +14,7 @@ no_name=0
two_hyphens=0
# Loop over args until pattern is found
-while [ x"$1" != x ] ; do
+while [ -n "$1" ] ; do
case "$1" in
--help | --he* | -h)
@@ -46,7 +46,7 @@ while [ x"$1" != x ] ; do
echo "Zutils home page: http://www.nongnu.org/zutils/zutils.html"
exit 0 ;;
--version | --ve* | -V)
- echo "Zgrep VERSION"
+ echo "Zgrep (zutils) VERSION"
echo "Copyright (C) 2009 Antonio Diaz Diaz."
echo "This script is free software: you have unlimited permission"
echo "to copy, distribute and modify it."