diff options
author | Jia Tan <jiat0218@gmail.com> | 2023-09-24 22:10:41 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-09-24 22:10:41 +0800 |
commit | 9fb5de41f2fb654ca952d4bda15cf3777c2b720f (patch) | |
tree | f43ad270d9a56a7398824023f40150b27ae994d3 | |
parent | xz: Change quoting style from `...' to '...'. (diff) | |
download | xz-9fb5de41f2fb654ca952d4bda15cf3777c2b720f.tar.xz |
Scripts: Change quoting style from `...' to '...'.
-rw-r--r-- | src/scripts/xzdiff.in | 2 | ||||
-rw-r--r-- | src/scripts/xzgrep.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/xzdiff.in b/src/scripts/xzdiff.in index c17d78b2..72249d3a 100644 --- a/src/scripts/xzdiff.in +++ b/src/scripts/xzdiff.in @@ -194,7 +194,7 @@ elif test $# -eq 2; then esac;; esac else - printf '%s\n' "$0: Invalid number of operands; try \`${0##*/} --help' for help" >&2 + printf '%s\n' "$0: Invalid number of operands; try '${0##*/} --help' for help" >&2 exit 2 fi diff --git a/src/scripts/xzgrep.in b/src/scripts/xzgrep.in index 490e47d7..c98fb30d 100644 --- a/src/scripts/xzgrep.in +++ b/src/scripts/xzgrep.in @@ -156,7 +156,7 @@ done eval "set -- $operands "'${1+"$@"}' if test $have_pat -eq 0; then - case ${1?"Missing pattern; try \`${0##*/} --help' for help"} in + case ${1?"Missing pattern; try '${0##*/} --help' for help"} in (*\'*) grep="$grep -e '"$(printf '%sX\n' "$1" | LC_ALL=C sed "$escape");; (*) |