Scripts: Change quoting style from `...' to '...'.

This commit is contained in:
Jia Tan 2023-09-24 22:10:41 +08:00
parent eaebdef4d4
commit 9fb5de41f2
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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");;
(*)