diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2021-03-07 14:48:41 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2021-03-07 14:51:33 -0800 |
commit | 717c33459d54e089258ad8c7af067944fa3283b1 (patch) | |
tree | 1fa58637b29b307fb069f3615bae045dfda1cb8c | |
parent | acc3a793a29ae3998f683ac7d9688e1c7c3fcb01 (diff) | |
download | gzip-717c33459d54e089258ad8c7af067944fa3283b1.tar.gz |
zgrep: fix option typo
* zgrep.in: Fix typo in option processing that prevented
operands like ‘binary-1’.
-rw-r--r-- | zgrep.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,7 @@ while test $# -ne 0; do option=$(expr "X$option" : 'X\(-.[0-9]*\)');; (--binary-*=* | --[lm]a*=* | --reg*=*) ;; - (-[ABCDXdefm] | binary-* | --file | --[lm]a* | --reg*) + (-[ABCDXdefm] | --binary-* | --file | --[lm]a* | --reg*) case ${1?"$option option requires an argument"} in (*\'*) optarg=" '"$(printf '%s\n' "$1" | sed "$escape");; |