* tests/misc/usage_vs_refs.sh: Properly quote arguments
to avoid false failure with paths containing spaces etc.
for opt in $(getopts $prg); do
got_option=true
if ! grep -E "opt(Itemx?|Anchor){$dprg,$opt[,}]" \
- $abs_top_srcdir/doc/coreutils.texi >/dev/null; then
+ "$abs_top_srcdir/doc/coreutils.texi" >/dev/null; then
if ! grep "optItemx\\?{\\\\cmd\\\\,$opt," \
- $abs_top_srcdir/doc/coreutils.texi >/dev/null; then
+ "$abs_top_srcdir/doc/coreutils.texi" >/dev/null; then
printf -- '%s %s reference missing in texi\n' $dprg $opt >&2
fail=1
elif test "$DEBUG"; then