aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-09-24 22:10:41 +0800
committerJia Tan <jiat0218@gmail.com>2023-09-24 22:10:41 +0800
commit9fb5de41f2fb654ca952d4bda15cf3777c2b720f (patch)
treef43ad270d9a56a7398824023f40150b27ae994d3
parentxz: Change quoting style from `...' to '...'. (diff)
downloadxz-9fb5de41f2fb654ca952d4bda15cf3777c2b720f.tar.xz
Scripts: Change quoting style from `...' to '...'.
-rw-r--r--src/scripts/xzdiff.in2
-rw-r--r--src/scripts/xzgrep.in2
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");;
(*)