In /usr/bin/lesspipe line 28: BASENAME=`basename $0` ^-----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: BASENAME=$(basename "$0") In /usr/bin/lesspipe line 37: isoinfo -f $iiopts -i "$1" ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: isoinfo -f "$iiopts" -i "$1" In /usr/bin/lesspipe line 50: if [ $BASENAME = $LESSFILE ]; then ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ "$BASENAME" = $LESSFILE ]; then In /usr/bin/lesspipe line 51: TMPFILE=`mktemp -p $TMPDIR lessfXXXXXX` ^-----------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: TMPFILE=$(mktemp -p "$TMPDIR" lessfXXXXXX) In /usr/bin/lesspipe line 60: if [ $BASENAME = $LESSFILE ]; then exec > $TMPFILE; fi ^-------^ SC2086: Double quote to prevent globbing and word splitting. ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ "$BASENAME" = $LESSFILE ]; then exec > "$TMPFILE"; fi In /usr/bin/lesspipe line 66: if [ $? -eq 0 ]; then ^-- SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?. In /usr/bin/lesspipe line 67: if [ $BASENAME = $LESSFILE ]; then ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ "$BASENAME" = $LESSFILE ]; then In /usr/bin/lesspipe line 68: if [ -s $TMPFILE ]; then ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ -s "$TMPFILE" ]; then In /usr/bin/lesspipe line 69: echo $TMPFILE ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "$TMPFILE" In /usr/bin/lesspipe line 71: rm -f $TMPFILE ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: rm -f "$TMPFILE" In /usr/bin/lesspipe line 79: case `echo "$1" | tr '[:upper:]' '[:lower:]'` in ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: case $(echo "$1" | tr '[:upper:]' '[:lower:]') in In /usr/bin/lesspipe line 81: if [ -x "`which ar`" ]; then ar tv "$1" ^--------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which ar)" ]; then ar tv "$1" In /usr/bin/lesspipe line 85: if [ -x "`which unarj`" ]; then unarj l "$1" ^-----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which unarj)" ]; then unarj l "$1" In /usr/bin/lesspipe line 89: if [ -x "`which bunzip2`" ]; then ^-------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which bunzip2)" ]; then In /usr/bin/lesspipe line 94: if [ -x "`which bunzip`" ]; then bunzip -c "$1" ^------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which bunzip)" ]; then bunzip -c "$1" In /usr/bin/lesspipe line 98: if [ -x "`which bunzip2`" ]; then bunzip2 -dc "$1" ^-------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which bunzip2)" ]; then bunzip2 -dc "$1" In /usr/bin/lesspipe line 108: if [ -x "`which catdoc`" ]; then ^------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which catdoc)" ]; then In /usr/bin/lesspipe line 121: if [ -x "`which unzip`" ]; then ^-----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which unzip)" ]; then In /usr/bin/lesspipe line 132: if [ -x "`which identify`" ]; then ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which identify)" ]; then In /usr/bin/lesspipe line 141: if [ -x "`which isoinfo`" ]; then iso_list "$1" ^-------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which isoinfo)" ]; then iso_list "$1" In /usr/bin/lesspipe line 149: if [ -x "`which isoinfo`" ]; then ^-------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which isoinfo)" ]; then In /usr/bin/lesspipe line 158: if [ -x "`which lha`" ]; then lha v "$1" ^---------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which lha)" ]; then lha v "$1" In /usr/bin/lesspipe line 162: if [ -x "`which lzip`" ]; then ^----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which lzip)" ]; then In /usr/bin/lesspipe line 164: elif [ -x "`which lunzip`" ]; then ^------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: elif [ -x "$(which lunzip)" ]; then In /usr/bin/lesspipe line 169: if [ -x "`which lzip`" ]; then lzip -dc "$1" ^----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which lzip)" ]; then lzip -dc "$1" In /usr/bin/lesspipe line 170: elif [ -x "`which lunzip`" ]; then lunzip -dc "$1" ^------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: elif [ -x "$(which lunzip)" ]; then lunzip -dc "$1" In /usr/bin/lesspipe line 174: if [ -x "`which lzma`" ]; then ^----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which lzma)" ]; then In /usr/bin/lesspipe line 182: if [ -x "`which lzma`" ]; then ^----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which lzma)" ]; then In /usr/bin/lesspipe line 190: if [ -x "`which pdftotext`" ]; then pdftotext -layout "$1" - ^---------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which pdftotext)" ]; then pdftotext -layout "$1" - In /usr/bin/lesspipe line 194: if [ -x "`which rar`" ]; then rar v "$1" ^---------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which rar)" ]; then rar v "$1" In /usr/bin/lesspipe line 195: elif [ -x "`which unrar`" ]; then unrar v "$1" ^-----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: elif [ -x "$(which unrar)" ]; then unrar v "$1" In /usr/bin/lesspipe line 199: if [ -x "`which rpm`" ]; then ^---------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which rpm)" ]; then In /usr/bin/lesspipe line 207: if [ -x "`which snap`" ]; then snap info "$1"; fi ^----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which snap)" ]; then snap info "$1"; fi In /usr/bin/lesspipe line 208: if [ -x "`which unsquashfs`" ]; then ^----------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which unsquashfs)" ]; then In /usr/bin/lesspipe line 218: if [ -x "`which xz`" ]; then ^--------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which xz)" ]; then In /usr/bin/lesspipe line 226: if [ -x "`which unzip`" ]; then ^-----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which unzip)" ]; then In /usr/bin/lesspipe line 235: if [ -x "`which xz`" ]; then ^--------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which xz)" ]; then In /usr/bin/lesspipe line 252: if [ -x "`which unzip`" ]; then unzip -v "$1"; ^-----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which unzip)" ]; then unzip -v "$1"; In /usr/bin/lesspipe line 253: elif [ -x "`which miniunzip`" ]; then miniunzip -l "$1"; ^---------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: elif [ -x "$(which miniunzip)" ]; then miniunzip -l "$1"; In /usr/bin/lesspipe line 254: elif [ -x "`which miniunz`" ]; then miniunz -l "$1"; ^-------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: elif [ -x "$(which miniunz)" ]; then miniunz -l "$1"; In /usr/bin/lesspipe line 258: if [ -x "`which 7za`" ]; then 7za l "$1"; ^---------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which 7za)" ]; then 7za l "$1"; In /usr/bin/lesspipe line 259: elif [ -x "`which 7zr`" ]; then 7zr l "$1"; ^---------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: elif [ -x "$(which 7zr)" ]; then 7zr l "$1"; In /usr/bin/lesspipe line 263: if [ -x "`which zoo`" ]; then zoo v "$1"; ^---------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ -x "$(which zoo)" ]; then zoo v "$1"; In /usr/bin/lesspipe line 264: elif [ -x "`which unzoo`" ]; then unzoo -l "$1"; ^-----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: elif [ -x "$(which unzoo)" ]; then unzoo -l "$1"; In /usr/bin/lesspipe line 270: if [ $BASENAME = $LESSFILE ]; then ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ "$BASENAME" = $LESSFILE ]; then In /usr/bin/lesspipe line 271: if [ -s $TMPFILE ]; then ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ -s "$TMPFILE" ]; then In /usr/bin/lesspipe line 272: echo $TMPFILE ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "$TMPFILE" In /usr/bin/lesspipe line 274: rm -f $TMPFILE ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: rm -f "$TMPFILE" In /usr/bin/lesspipe line 283: if [ $BASENAME = $LESSFILE ]; then ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ "$BASENAME" = $LESSFILE ]; then In /usr/bin/lesspipe line 309: FULLPATH=`cd \`dirname $0\`;pwd`/$BASENAME ^---------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-------------^ SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails. ^----------^ 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: FULLPATH=$(cd $(`dirname" $") || exit\`;pwd)/$BASENAME In /usr/bin/lesspipe line 313: if [ $BASENAME = $LESSFILE ]; then ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ "$BASENAME" = $LESSFILE ]; then In /usr/bin/lesspipe line 322: if [ $BASENAME = $LESSFILE ]; then ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ "$BASENAME" = $LESSFILE ]; then For more information: https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2164 -- Use 'cd ... || exit' or 'cd ... |... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...