In /usr/bin/yaz-config line 22:
YAZVERSION=$VERSION
^--------^ SC2034: YAZVERSION appears unused. Verify use (or export if used externally).


In /usr/bin/yaz-config line 40:
	exit $1
             ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	exit "$1"


In /usr/bin/yaz-config line 45:
	-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
                     ^-- SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
	-*=*) optarg=$(echo "$1" | sed 's/[-_a-zA-Z0-9]*=//') ;;


In /usr/bin/yaz-config line 54:
	    echo $prefix
                 ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	    echo "$prefix"


In /usr/bin/yaz-config line 148:
    YAZBIN=${prefix}/bin
    ^----^ SC2034: YAZBIN appears unused. Verify use (or export if used externally).


In /usr/bin/yaz-config line 175:
    echo $YAZINC
         ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    echo "$YAZINC"


In /usr/bin/yaz-config line 178:
    echo $YAZLIB
         ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    echo "$YAZLIB"


In /usr/bin/yaz-config line 181:
    echo $YAZLALIB
         ^-------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    echo "$YAZLALIB"

For more information:
  https://www.shellcheck.net/wiki/SC2034 -- YAZBIN appears unused. Verify use...
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
  https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of le...