zgrep.sh: Add forgotten ';' and remove set -e which prevents looping over files

not matching
This commit is contained in:
bapt 2018-04-25 21:01:02 +00:00
parent 88f908a092
commit 479a325d65

View File

@ -24,7 +24,7 @@
#
# $FreeBSD$
set -eu
set -u
grep=grep
zcat=zstdcat
@ -144,7 +144,7 @@ else
if [ ${silent} -lt 1 -a $# -gt 1 ]; then
grep_args="-H ${grep_args}"
fi
for file do
for file; do
${cattool} ${catargs} -- "${file}" | ${grep} --label="${file}" ${grep_args} -- "${pattern}" -
done
fi