diff --git a/src/scripts/xzgrep.in b/src/scripts/xzgrep.in index 511ea39c..46205512 100644 --- a/src/scripts/xzgrep.in +++ b/src/scripts/xzgrep.in @@ -147,7 +147,7 @@ while test $# -ne 0; do esac case $option in - (*\'?*) + (*\'*) option=\'$(printf '%sX\n' "$option" | LC_ALL=C sed "$escape");; (*) option="'$option'";;