In /usr/bin/dvipdf line 26: if [ $# -lt 1 -o $# -gt 2 ]; then ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. In /usr/bin/dvipdf line 27: echo "Usage: `basename \"$0\"` [options...] input.dvi [output.pdf]" 1>&2 ^---------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: echo "Usage: $(basename \"$0\") [options...] input.dvi [output.pdf]" 1>&2 In /usr/bin/dvipdf line 36: *.dvi) base=`basename "${infile}" .dvi` ;; ^-------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: *.dvi) base=$(basename "${infile}" .dvi) ;; In /usr/bin/dvipdf line 37: *) base=`basename "${infile}"` ;; ^--------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: *) base=$(basename "${infile}") ;; In /usr/bin/dvipdf line 46: exec dvips -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS - ^-----------^ 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: exec dvips -Ppdf "$DVIPSOPTIONS" -q -f "$infile" | $GS_EXECUTABLE "$OPTIONS" -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" "$OPTIONS" - For more information: https://www.shellcheck.net/wiki/SC2166 -- Prefer [ p ] || [ q ] as [ p -o q... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of le...