In /usr/bin/texi2dvi line 26: && { UNAMES=`uname -s`; test "x$UNAMES" = xULTRIX; } 2>/dev/null \ ^--------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: && { UNAMES=$(uname -s); test "x$UNAMES" = xULTRIX; } 2>/dev/null \ In /usr/bin/texi2dvi line 27: && { RUNNING_KSH=true; export RUNNING_KSH; exec /bin/ksh $0 ${1+"$@"}; } ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: && { RUNNING_KSH=true; export RUNNING_KSH; exec /bin/ksh "$0" ${1+"$@"}; } In /usr/bin/texi2dvi line 34: : ${SED=sed} ^--------^ SC2223: This default assignment may cause DoS due to globbing. Quote it. In /usr/bin/texi2dvi line 36: program=`echo $0 | $SED -e 's!.*/!!'` ^---------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: program=$(echo "$0" | $SED -e 's!.*/!!') In /usr/bin/texi2dvi line 41: orig_pwd=`pwd` ^---^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: orig_pwd=$(pwd) In /usr/bin/texi2dvi line 50: includes= ^------^ SC2034: includes appears unused. Verify use (or export if used externally). In /usr/bin/texi2dvi line 77: : ${EGREP=egrep} ^------------^ SC2223: This default assignment may cause DoS due to globbing. Quote it. In /usr/bin/texi2dvi line 87: if test -n "$COMSPEC$ComSpec" \ ^------^ SC2154: ComSpec is referenced but not assigned. In /usr/bin/texi2dvi line 88: && MSYSTEM=$OSTYPE uname | $EGREP -iv 'cygwin|msys' >/dev/null; then ^-----^ SC2039: In POSIX sh, OSTYPE is undefined. In /usr/bin/texi2dvi line 243: rel=`echo "$1" | \$SED -e 's/[^/\\][^/\\]*/../g' -e 's/[/\\]*$/\//'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: rel=$(echo "$1" | \$SED -e 's/[^/\\][^/\\]*/../g' -e 's/[/\\]*$/\//') In /usr/bin/texi2dvi line 285: *) absolute_slashes=`echo "$1" | $SED -n 's,.*[^/]\(/*\)$,\1,p'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: *) absolute_slashes=$(echo "$1" | $SED -n 's,.*[^/]\(/*\)$,\1,p') In /usr/bin/texi2dvi line 286: absolute_rel=$orig_pwd/`func_dirname "$1"` ^-----------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: absolute_rel=$orig_pwd/$(func_dirname "$1") In /usr/bin/texi2dvi line 289: && absolute_name=`pwd`/`basename "$1"`"$absolute_slashes" ^---^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: && absolute_name=$(pwd)/$(basename "$1")"$absolute_slashes" In /usr/bin/texi2dvi line 323: exit $error_status ^-----------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: exit "$error_status" In /usr/bin/texi2dvi line 365: verbose "Running $@" ^-- SC2145: Argument mixes string and array. Use * or separate argument. In /usr/bin/texi2dvi line 375: echo >&2 "$0: $@" ^-- SC2145: Argument mixes string and array. Use * or separate argument. In /usr/bin/texi2dvi line 387: eval set X \$$list_name "$@" ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: eval set X \$"$list_name" "$@" In /usr/bin/texi2dvi line 389: eval $list_name=\""$@"\" ^--------^ SC2086: Double quote to prevent globbing and word splitting. ^-- SC2145: Argument mixes string and array. Use * or separate argument. Did you mean: eval "$list_name"=\""$@"\" In /usr/bin/texi2dvi line 407: set x `echo "$2" | eval $SED $lcd_replace_EMPTY`; shift ^-- SC2121: To assign a variable, use just 'var=value', no 'set ..'. ^-- SC2046: Quote this to prevent word splitting. ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^----------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: set x $(echo "$2" | eval $SED "$lcd_replace_EMPTY"); shift In /usr/bin/texi2dvi line 413: list_append $lcd_list "" ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: list_append "$lcd_list" "" In /usr/bin/texi2dvi line 416: if test -d $lcd_dir; then ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if test -d "$lcd_dir"; then In /usr/bin/texi2dvi line 417: dir=`absolute "$lcd_dir"` ^-------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: dir=$(absolute "$lcd_dir") In /usr/bin/texi2dvi line 418: list_append $lcd_list "$lcd_dir" ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: list_append "$lcd_list" "$lcd_dir" In /usr/bin/texi2dvi line 431: eval set X \$$1 ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: eval set X \$"$1" In /usr/bin/texi2dvi line 444: eval set X \$$1 ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: eval set X \$"$1" In /usr/bin/texi2dvi line 457: eval set X \$$ldta_list ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: eval set X \$"$ldta_list" In /usr/bin/texi2dvi line 462: dir=`absolute "$dir"` ^---------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: dir=$(absolute "$dir") In /usr/bin/texi2dvi line 464: ldta_result="$ldata_result \"$dir\"" ^-----------^ SC2154: ldata_result is referenced but not assigned (did you mean 'ldta_result'?). ^-^ SC2089: Quotes/backslashes will be treated literally. Rewrite using set/"$@" or functions. In /usr/bin/texi2dvi line 466: set X $ldta_result; shift ^-- SC2121: To assign a variable, use just 'var=value', no 'set ..'. ^----------^ SC2090: Quotes/backslashes in this variable will not be respected. ^----------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: set X "$ldta_result"; shift In /usr/bin/texi2dvi line 467: eval $ldta_list=\"$@\" ^--------^ SC2086: Double quote to prevent globbing and word splitting. ^-- SC2068: Double quote array expansions to avoid re-splitting elements. ^-- SC2145: Argument mixes string and array. Use * or separate argument. Did you mean: eval "$ldta_list"=\"$@\" In /usr/bin/texi2dvi line 483: out_lang_tex () ^-- SC2120: out_lang_tex references arguments, but none are ever passed. In /usr/bin/texi2dvi line 487: pdf ) echo $out_lang;; ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: pdf ) echo "$out_lang";; In /usr/bin/texi2dvi line 488: html | info | text ) echo $out_lang;; ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: html | info | text ) echo "$out_lang";; In /usr/bin/texi2dvi line 494: out_lang_ext () ^-- SC2120: out_lang_ext references arguments, but none are ever passed. In /usr/bin/texi2dvi line 498: dvi | html | info | pdf | ps | text ) echo $out_lang;; ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: dvi | html | info | pdf | ps | text ) echo "$out_lang";; In /usr/bin/texi2dvi line 517: af_result=`echo "$1" | eval $SED $af_replace_empty` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^---------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: af_result=$(echo "$1" | eval $SED "$af_replace_empty") In /usr/bin/texi2dvi line 520: set x $af_result; shift ^-- SC2121: To assign a variable, use just 'var=value', no 'set ..'. ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: set x "$af_result"; shift In /usr/bin/texi2dvi line 531: af_result=$af_result$af_path_sep`absolute "$dir"` ^---------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: af_result=$af_result$af_path_sep$(absolute "$dir") In /usr/bin/texi2dvi line 553: *) obn_out_noext=`noext "$oname"` ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: *) obn_out_noext=$(noext "$oname") In /usr/bin/texi2dvi line 554: obn_file_ext=`echo "$1" | $SED 's/^.*\.//'` ^----------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: obn_file_ext=$(echo "$1" | $SED 's/^.*\.//') In /usr/bin/texi2dvi line 595: true:*) mtd_destfile=`output_base_name "$file"` ^------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: true:*) mtd_destfile=$(output_base_name "$file") In /usr/bin/texi2dvi line 596: mtd_destdir=`dirname "$mtd_destfile"`;; ^-----------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: mtd_destdir=$(dirname "$mtd_destfile");; In /usr/bin/texi2dvi line 598: mtd_destdir=`dirname "$mtd_destfile"`;; ^-----------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: mtd_destdir=$(dirname "$mtd_destfile");; In /usr/bin/texi2dvi line 608: mtd_destdir=`cd "$mtd_destdir" && pwd` ^------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: mtd_destdir=$(cd "$mtd_destdir" && pwd) In /usr/bin/texi2dvi line 609: mtd_destbase=`basename "$mtd_destfile"` ^------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: mtd_destbase=$(basename "$mtd_destfile") In /usr/bin/texi2dvi line 611: mtd_sourcedir=`dirname "$file"` ^---------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: mtd_sourcedir=$(dirname "$file") In /usr/bin/texi2dvi line 612: mtd_sourcedir=`cd "$mtd_sourcedir" && pwd` ^--------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: mtd_sourcedir=$(cd "$mtd_sourcedir" && pwd) In /usr/bin/texi2dvi line 613: mtd_sourcebase=`basename "$file"` ^----------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: mtd_sourcebase=$(basename "$file") In /usr/bin/texi2dvi line 658: case $in_lang:$latex2html:`out_lang_tex`:`$SED '1q' "$1"` in ^------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^----------^ SC2119: Use out_lang_tex "$@" if function's $1 should mean script's $1. ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: case $in_lang:$latex2html:$(out_lang_tex):$($SED '1q' "$1") in In /usr/bin/texi2dvi line 665: latex:tex4ht:html:"\\beforeentry {"*) echo $1;; ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: latex:tex4ht:html:"\\beforeentry {"*) echo "$1";; In /usr/bin/texi2dvi line 668: latex:*:*:"\\indexentry{"*|latex:*:*:"\\indexentry {"*) echo $1;; ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: latex:*:*:"\\indexentry{"*|latex:*:*:"\\indexentry {"*) echo "$1";; In /usr/bin/texi2dvi line 670: texinfo:*:*:"\\entry{"*) echo $1;; ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: texinfo:*:*:"\\entry{"*) echo "$1";; In /usr/bin/texi2dvi line 671: texinfo:*:*:"@entry{"*) echo $1;; ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: texinfo:*:*:"@entry{"*) echo "$1";; In /usr/bin/texi2dvi line 687: case `$SED '1q' "$1"` in ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: case $($SED '1q' "$1") in In /usr/bin/texi2dvi line 724: if test $generated_files_get_method = generated_files_get_from_fls; then ^-------------------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if test "$generated_files_get_method" = generated_files_get_from_fls; then In /usr/bin/texi2dvi line 750: tar cf - $xref_files_orig | (cd "$rel$work_bak" && tar xf -) ^--------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: tar cf - "$xref_files_orig" | (cd "$rel$work_bak" && tar xf -) In /usr/bin/texi2dvi line 756: secondary_xref_files=`sorted_index_files` ^------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: secondary_xref_files=$(sorted_index_files) In /usr/bin/texi2dvi line 759: remove $rel$in_dir/$f ^--^ SC2086: Double quote to prevent globbing and word splitting. ^-----^ SC2086: Double quote to prevent globbing and word splitting. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: remove "$rel""$in_dir"/"$f" In /usr/bin/texi2dvi line 785: xref_files_new=`generated_files_get` ^-------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: xref_files_new=$(generated_files_get) In /usr/bin/texi2dvi line 794: verbose "Comparing xref file `echo $this_file | $SED 's|\./||g'` ..." ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: verbose "Comparing xref file $(echo "$this_file" | $SED 's|\./||g') ..." In /usr/bin/texi2dvi line 797: verbose "xref file `echo $this_file | $SED 's|\./||g'` differed ..." ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: verbose "xref file $(echo "$this_file" | $SED 's|\./||g') differed ..." In /usr/bin/texi2dvi line 805: secondary_xref_files=`sorted_index_files` ^------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: secondary_xref_files=$(sorted_index_files) In /usr/bin/texi2dvi line 808: if test -f $this_file; then :; else ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if test -f "$this_file"; then :; else In /usr/bin/texi2dvi line 823: case $in_lang:$latex2html:`out_lang_tex` in ^------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^----------^ SC2119: Use out_lang_tex "$@" if function's $1 should mean script's $1. Did you mean: case $in_lang:$latex2html:$(out_lang_tex) in In /usr/bin/texi2dvi line 845: while read d ^--^ SC2162: read without -r will mangle backslashes. In /usr/bin/texi2dvi line 862: tex_help=`cd "$tex_help_dir" >&6 && $tex --help </dev/null 2>&1 || true` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^-- SC2015: Note that A && B || C is not if-then-else. C may run when A is true. Did you mean: tex_help=$(cd "$tex_help_dir" >&6 && $tex --help </dev/null 2>&1 || true) In /usr/bin/texi2dvi line 901: in_input_funnies=`echo "$in_input" \ ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^-- SC1003: Want to escape a single quote? echo 'This is how it'\''s done'. Did you mean: in_input_funnies=$(echo "$in_input" \ | $SED -e 's![^}#$%&^_{~]!!g' -e 's!\(.\)!\1\'' !g' | uniq) In /usr/bin/texi2dvi line 973: bibtex_aux=`filter_files bibaux_file_p` ^--------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: bibtex_aux=$(filter_files bibaux_file_p) In /usr/bin/texi2dvi line 975: run $bibtex "$f" ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: run "$bibtex" "$f" In /usr/bin/texi2dvi line 982: run ${BIBER:-biber} "$in_noext" ^-------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: run "${BIBER:-biber}" "$in_noext" In /usr/bin/texi2dvi line 996: while read file; do ^--^ SC2162: read without -r will mangle backslashes. In /usr/bin/texi2dvi line 1010: index_files=`filter_files index_file_p` ^-------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: index_files=$(filter_files index_file_p) In /usr/bin/texi2dvi line 1014: : ${MAKEINDEX:=makeindex} ^---------------------^ SC2223: This default assignment may cause DoS due to globbing. Quote it. In /usr/bin/texi2dvi line 1015: : ${TEXINDEX:=texindex} ^-------------------^ SC2223: This default assignment may cause DoS due to globbing. Quote it. In /usr/bin/texi2dvi line 1016: : ${TEXINDY:=texindy} ^-----------------^ SC2223: This default assignment may cause DoS due to globbing. Quote it. In /usr/bin/texi2dvi line 1018: case $in_lang:$latex2html:`out_lang_tex` in ^------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^----------^ SC2119: Use out_lang_tex "$@" if function's $1 should mean script's $1. Did you mean: case $in_lang:$latex2html:$(out_lang_tex) in In /usr/bin/texi2dvi line 1022: index_noext=`noext "$index_file"` ^-------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: index_noext=$(noext "$index_file") In /usr/bin/texi2dvi line 1026: run $MAKEINDEX -o $index_noext.ind $index_noext.4dx ^----------^ SC2086: Double quote to prevent globbing and word splitting. ^----------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: run $MAKEINDEX -o "$index_noext".ind "$index_noext".4dx In /usr/bin/texi2dvi line 1032: run $TEXINDY $index_files ^----------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: run $TEXINDY "$index_files" In /usr/bin/texi2dvi line 1034: run $MAKEINDEX $index_files ^----------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: run $MAKEINDEX "$index_files" In /usr/bin/texi2dvi line 1039: run $TEXINDEX $index_files ^----------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: run $TEXINDEX "$index_files" In /usr/bin/texi2dvi line 1055: case $in_lang:$latex2html:`out_lang_tex` in ^------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^----------^ SC2119: Use out_lang_tex "$@" if function's $1 should mean script's $1. Did you mean: case $in_lang:$latex2html:$(out_lang_tex) in In /usr/bin/texi2dvi line 1057: : ${TEX4HT:=tex4ht} ${T4HT:=t4ht} ^---------------^ SC2223: This default assignment may cause DoS due to globbing. Quote it. ^-----------^ SC2223: This default assignment may cause DoS due to globbing. Quote it. In /usr/bin/texi2dvi line 1060: run "$T4HT" "-d`destdir`/" "-f/$in_noext" ^-------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: run "$T4HT" "-d$(destdir)/" "-f/$in_noext" In /usr/bin/texi2dvi line 1069: if test `out_lang_tex` = pdf \ ^------------^ SC2046: Quote this to prevent word splitting. ^------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^----------^ SC2119: Use out_lang_tex "$@" if function's $1 should mean script's $1. Did you mean: if test $(out_lang_tex) = pdf \ In /usr/bin/texi2dvi line 1090: if test -n "$DVIPDF"; then ^-----^ SC2153: Possible misspelling: DVIPDF may not be assigned, but dvipdf is. In /usr/bin/texi2dvi line 1104: if test ! -f `echo "$1" | $SED -e 's/\.dvi$/.pdf/'`; then ^-- SC2046: Quote this to prevent word splitting. ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if test ! -f $(echo "$1" | $SED -e 's/\.dvi$/.pdf/'); then In /usr/bin/texi2dvi line 1125: xref_files_new=`generated_files_get` ^-------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: xref_files_new=$(generated_files_get) In /usr/bin/texi2dvi line 1136: suite_cycle=`expr $suite_cycle + 1` ^---------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^--^ SC2003: expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]]. Did you mean: suite_cycle=$(expr $suite_cycle + 1) In /usr/bin/texi2dvi line 1167: run_dvipdf "$in_noext.`out_lang_tex`" ^------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^----------^ SC2119: Use out_lang_tex "$@" if function's $1 should mean script's $1. Did you mean: run_dvipdf "$in_noext.$(out_lang_tex)" In /usr/bin/texi2dvi line 1168: move_to_dest "$in_noext.`out_lang_ext`" ^------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^----------^ SC2119: Use out_lang_ext "$@" if function's $1 should mean script's $1. Did you mean: move_to_dest "$in_noext.$(out_lang_ext)" In /usr/bin/texi2dvi line 1171: : ${DVIPS:=dvips} ^-------------^ SC2223: This default assignment may cause DoS due to globbing. Quote it. In /usr/bin/texi2dvi line 1172: run $DVIPS -o "$in_noext.`out_lang_ext`" "$in_noext.`out_lang_tex`" ^------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^----------^ SC2119: Use out_lang_ext "$@" if function's $1 should mean script's $1. ^------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^----------^ SC2119: Use out_lang_tex "$@" if function's $1 should mean script's $1. Did you mean: run $DVIPS -o "$in_noext.$(out_lang_ext)" "$in_noext.$(out_lang_tex)" In /usr/bin/texi2dvi line 1173: move_to_dest "$in_noext.`out_lang_ext`" ^------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^----------^ SC2119: Use out_lang_ext "$@" if function's $1 should mean script's $1. Did you mean: move_to_dest "$in_noext.$(out_lang_ext)" In /usr/bin/texi2dvi line 1189: test $in_lang = texinfo \ ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: test "$in_lang" = texinfo \ In /usr/bin/texi2dvi line 1219: eval `$SED -n 's/^.*\[\(.*\)version \(....\)-\(..\)-\(..\).*$/txiformat=\1 txiversion="\2\3\4"/p' "$version_test_dir/txiversion.out"` ^-- SC2046: Quote this to prevent word splitting. ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: eval $($SED -n 's/^.*\[\(.*\)version \(....\)-\(..\)-\(..\).*$/txiformat=\1 txiversion="\2\3\4"/p' "$version_test_dir/txiversion.out") In /usr/bin/texi2dvi line 1220: verbose "texinfo.tex preloaded as \`$txiformat', version is \`$txiversion' ..." ^--------^ SC2154: txiformat is referenced but not assigned. ^---------^ SC2154: txiversion is referenced but not assigned. In /usr/bin/texi2dvi line 1238: run_mi_includes=`list_prefix includes -I` ^-----------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: run_mi_includes=$(list_prefix includes -I) In /usr/bin/texi2dvi line 1245: | eval $makeinfo --footnote-style=end -I "$in_dir" $run_mi_includes \ ^-------^ SC2086: Double quote to prevent globbing and word splitting. ^--------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: | eval "$makeinfo" --footnote-style=end -I "$in_dir" "$run_mi_includes" \ In /usr/bin/texi2dvi line 1327: if head -n 10 $in_input | grep '^@setfilename' ; then ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if head -n 10 "$in_input" | grep '^@setfilename' ; then In /usr/bin/texi2dvi line 1338: case $in_lang:$latex2html:`out_lang_tex` in ^------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^----------^ SC2119: Use out_lang_tex "$@" if function's $1 should mean script's $1. Did you mean: case $in_lang:$latex2html:$(out_lang_tex) in In /usr/bin/texi2dvi line 1362: echo $set_language ^-----------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "$set_language" In /usr/bin/texi2dvi line 1399: run_hevea_cmd="$run_hevea_cmd `list_prefix includes -I` -I '$orig_pwd' " ^-----------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: run_hevea_cmd="$run_hevea_cmd $(list_prefix includes -I) -I '$orig_pwd' " In /usr/bin/texi2dvi line 1426: case $in_lang:$latex2html:`out_lang_tex` in ^------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^----------^ SC2119: Use out_lang_tex "$@" if function's $1 should mean script's $1. Did you mean: case $in_lang:$latex2html:$(out_lang_tex) in In /usr/bin/texi2dvi line 1430: run_hevea $out_lang;; ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: run_hevea "$out_lang";; In /usr/bin/texi2dvi line 1453: txincludes=`list_infix includes $path_sep` ^-----------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: txincludes=$(list_infix includes $path_sep) In /usr/bin/texi2dvi line 1461: val=`absolute_filenames "$val"` ^-------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: val=$(absolute_filenames "$val") In /usr/bin/texi2dvi line 1462: eval $var="\"$val\"" ^--^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: eval "$var"="\"$val\"" In /usr/bin/texi2dvi line 1463: export $var ^--^ SC2163: This does not export 'var'. Remove $/${} for that, or use ${var?} to quiet. ^--^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: export "$var" In /usr/bin/texi2dvi line 1464: eval verbose \"$var=\'\$${var}\'\" ^--^ SC2086: Double quote to prevent globbing and word splitting. ^----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: eval verbose \""$var"=\'\$"${var}"\'\" In /usr/bin/texi2dvi line 1615: echo $in_noext.log ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "$in_noext".log In /usr/bin/texi2dvi line 1616: echo $in_noext.fls ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "$in_noext".fls In /usr/bin/texi2dvi line 1617: echo $xref_files_new ^-------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "$xref_files_new" In /usr/bin/texi2dvi line 1618: echo `sorted_index_files` ^------------------^ SC2046: Quote this to prevent word splitting. ^------------------^ SC2005: Useless echo? Instead of 'echo $(cmd)', just use 'cmd'. ^------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: echo $(sorted_index_files) In /usr/bin/texi2dvi line 1632: if test -n "`index_file_p $1`" ; then ^---------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: if test -n "$(index_file_p "$1")" ; then In /usr/bin/texi2dvi line 1633: echo $1s ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "$1"s In /usr/bin/texi2dvi line 1646: if test -n "`aux_file_p $1`"; then ^-------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: if test -n "$(aux_file_p "$1")"; then In /usr/bin/texi2dvi line 1648: echo $1 | $SED 's/^\(.*\)\.aux$/\1.bbl/' ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "$1" | $SED 's/^\(.*\)\.aux$/\1.bbl/' In /usr/bin/texi2dvi line 1649: echo $1 | $SED 's/^\(.*\)\.aux$/\1.blg/' ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "$1" | $SED 's/^\(.*\)\.aux$/\1.blg/' In /usr/bin/texi2dvi line 1660: set X "$t2ddir" ^-- SC2121: To assign a variable, use just 'var=value', no 'set ..'. In /usr/bin/texi2dvi line 1663: set X ${1+"$@"} `all_files` ^-- SC2121: To assign a variable, use just 'var=value', no 'set ..'. ^---------^ SC2046: Quote this to prevent word splitting. ^---------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: set X ${1+"$@"} $(all_files) In /usr/bin/texi2dvi line 1700: *\\input{*}*) ^-- SC1083: This { is literal. Check expression (missing ;/\n?) or quote it. ^-- SC1083: This } is literal. Check expression (missing ;/\n?) or quote it. In /usr/bin/texi2dvi line 1703: command_line_filename=`\ ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: command_line_filename=$(\ expr X"$command_line_filename" : X'.*input{\([^}]*\)}') In /usr/bin/texi2dvi line 1721: in_dir=`func_dirname "$command_line_filename"` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: in_dir=$(func_dirname "$command_line_filename") In /usr/bin/texi2dvi line 1724: in_base=`basename "$command_line_filename"` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: in_base=$(basename "$command_line_filename") In /usr/bin/texi2dvi line 1726: in_noext=`noext "$in_base"` ^----------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: in_noext=$(noext "$in_base") In /usr/bin/texi2dvi line 1737: out_name=$in_noext.`out_lang_ext` ^------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^----------^ SC2119: Use out_lang_ext "$@" if function's $1 should mean script's $1. Did you mean: out_name=$in_noext.$(out_lang_ext) In /usr/bin/texi2dvi line 1739: out_dir=`func_dirname "$out_name"` ^------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: out_dir=$(func_dirname "$out_name") In /usr/bin/texi2dvi line 1740: out_dir_abs=`absolute "$out_dir"` ^-------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: out_dir_abs=$(absolute "$out_dir") In /usr/bin/texi2dvi line 1741: out_base=`basename "$out_name"` ^--------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: out_base=$(basename "$out_name") In /usr/bin/texi2dvi line 1742: out_noext=`noext "$out_base"` ^-----------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: out_noext=$(noext "$out_base") In /usr/bin/texi2dvi line 1756: eval ${var}_orig=\$$var ^----^ SC2086: Double quote to prevent globbing and word splitting. ^--^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: eval "${var}"_orig=\$"$var" In /usr/bin/texi2dvi line 1757: export $var ^--^ SC2163: This does not export 'var'. Remove $/${} for that, or use ${var?} to quiet. ^--^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: export "$var" In /usr/bin/texi2dvi line 1768: set dummy ${1+"$@"} "$arg_sep"; shift ^---^ SC2121: To assign a variable, use just 'var=value', no 'set ..'. In /usr/bin/texi2dvi line 1774: opt=`echo "$1" | $SED -e 's/=.*//'` ^-----------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: opt=$(echo "$1" | $SED -e 's/=.*//') In /usr/bin/texi2dvi line 1775: val=`echo "$1" | $SED -e 's/[^=]*=//'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: val=$(echo "$1" | $SED -e 's/[^=]*=//') In /usr/bin/texi2dvi line 1777: set dummy "$opt" "$val" ${1+"$@"}; shift ^---^ SC2121: To assign a variable, use just 'var=value', no 'set ..'. In /usr/bin/texi2dvi line 1799: oname=`absolute "$1"`;; ^-------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: oname=$(absolute "$1");; In /usr/bin/texi2dvi line 1804: out_lang_set `echo "x$1" | $SED 's/^x--//'`;; ^----------------------------^ SC2046: Quote this to prevent word splitting. ^----------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: out_lang_set $(echo "x$1" | $SED 's/^x--//');; In /usr/bin/texi2dvi line 1812: "`echo "$1" | $SED 's/\\\\/\\\\\\\\/g'`;; ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: "$(echo "$1" | $SED 's/\\\\/\\\\\\\\/g');; In /usr/bin/texi2dvi line 1820: set dummy ${1+"$@"} "$1"; shift ^---^ SC2121: To assign a variable, use just 'var=value', no 'set ..'. In /usr/bin/texi2dvi line 1828: *) set dummy ${1+"$@"} "$1"; shift;; ^---^ SC2121: To assign a variable, use just 'var=value', no 'set ..'. In /usr/bin/texi2dvi line 1937: in_lang=`compute_language "$command_line_filename"` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: in_lang=$(compute_language "$command_line_filename") In /usr/bin/texi2dvi line 1949: t2ddir=$build_dir/`echo "$out_dir_abs/$out_noext.t2d" | ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: t2ddir=$build_dir/$(echo "$out_dir_abs/$out_noext.t2d" | $SED "s,^$orig_pwd/,,;s,^\./,,;s,/,!,g") In /usr/bin/texi2dvi line 1960: workdir=$t2ddir/`out_lang_tex` ^------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^----------^ SC2119: Use out_lang_tex "$@" if function's $1 should mean script's $1. Did you mean: workdir=$t2ddir/$(out_lang_tex) In /usr/bin/texi2dvi line 1988: xref_files_new=`generated_files_get` ^-------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: xref_files_new=$(generated_files_get) For more information: https://www.shellcheck.net/wiki/SC2068 -- Double quote array expansions to ... https://www.shellcheck.net/wiki/SC2145 -- Argument mixes string and array. ... https://www.shellcheck.net/wiki/SC1083 -- This { is literal. Check expressi...