diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2018-04-25 21:01:02 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2018-04-25 21:01:02 +0000 |
| commit | 6a88262d6a209d791d630f5612ca93539675e07d (patch) | |
| tree | fc9561cec1711e194a061a47823f1d6a48419688 /usr.bin | |
| parent | 1e5b97628bec15f073c3a40e66e67e161d4b0963 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rwxr-xr-x | usr.bin/grep/zgrep.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/grep/zgrep.sh b/usr.bin/grep/zgrep.sh index 28e5174e01b5..a39084eb84d4 100755 --- a/usr.bin/grep/zgrep.sh +++ b/usr.bin/grep/zgrep.sh @@ -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 |
