In /usr/bin/gpgrt-config line 28: eval echo \$VAR_$___name ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: eval echo \$VAR_"$___name" In /usr/bin/gpgrt-config line 39: eval echo \$ATTR_$___name ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: eval echo \$ATTR_"$___name" In /usr/bin/gpgrt-config line 62: \${*}*) ^-- 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/gpgrt-config line 65: __result="$__result$(get_var $__varname)" ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: __result="$__result$(get_var "$__varname")" In /usr/bin/gpgrt-config line 66: __string=$(remove_var_expr $__varname $__string) ^--------^ SC2086: Double quote to prevent globbing and word splitting. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: __string=$(remove_var_expr "$__varname" "$__string") In /usr/bin/gpgrt-config line 95: while read _line; do ^--^ SC2162: read without -r will mangle backslashes. In /usr/bin/gpgrt-config line 105: read VAR_$_varname <<EOF1 ^--^ SC2162: read without -r will mangle backslashes. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: read VAR_"$_varname" <<EOF1 In /usr/bin/gpgrt-config line 115: *:\ *) ^---^ SC2221: This pattern always overrides a later one on line 126. In /usr/bin/gpgrt-config line 122: read ATTR_$_key <<EOF2 ^--^ SC2162: read without -r will mangle backslashes. ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: read ATTR_"$_key" <<EOF2 In /usr/bin/gpgrt-config line 126: *:|*:\ ) ;; ^--^ SC2222: This pattern never matches because of a previous pattern on line 115. In /usr/bin/gpgrt-config line 145: if [ -r $_arg/$_f ]; then ^---^ SC2086: Double quote to prevent globbing and word splitting. ^-^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ -r "$_arg"/"$_f" ]; then In /usr/bin/gpgrt-config line 157: if ! find_file_in_path $1.pc $2; then ^-- SC2086: Double quote to prevent globbing and word splitting. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: if ! find_file_in_path "$1".pc "$2"; then In /usr/bin/gpgrt-config line 163: read_config_from_stdin $RESULT < $RESULT ^-----^ SC2086: Double quote to prevent globbing and word splitting. ^-----^ SC2094: Make sure not to read and write the same file in the same pipeline. ^-----^ SC2086: Double quote to prevent globbing and word splitting. ^-----^ SC2094: Make sure not to read and write the same file in the same pipeline. Did you mean: read_config_from_stdin "$RESULT" < "$RESULT" In /usr/bin/gpgrt-config line 167: eval unset $VAR_list VAR_list ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: eval unset "$VAR_list" VAR_list In /usr/bin/gpgrt-config line 168: eval unset $ATTR_list ATTR_list ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: eval unset "$ATTR_list" ATTR_list In /usr/bin/gpgrt-config line 177: if [ $___m = $___arg ]; then ^---^ SC2086: Double quote to prevent globbing and word splitting. ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ "$___m" = "$___arg" ]; then In /usr/bin/gpgrt-config line 190: if not_listed_yet $__arg $__result; then ^----^ SC2086: Double quote to prevent globbing and word splitting. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if not_listed_yet "$__arg" "$__result"; then In /usr/bin/gpgrt-config line 195: echo $__result ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "$__result" In /usr/bin/gpgrt-config line 212: if not_listed_yet $__arg $__rev_list; then ^----^ SC2086: Double quote to prevent globbing and word splitting. ^---------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if not_listed_yet "$__arg" "$__rev_list"; then In /usr/bin/gpgrt-config line 223: if not_listed_yet $__arg $__result; then ^----^ SC2086: Double quote to prevent globbing and word splitting. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if not_listed_yet "$__arg" "$__result"; then In /usr/bin/gpgrt-config line 234: echo $__result ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "$__result" In /usr/bin/gpgrt-config line 238: [ "$1" = "=" -o "$1" = ">=" -o "$1" = "<=" ] ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. In /usr/bin/gpgrt-config line 242: [ "$1" = "!=" -o "$1" = "<" -o "$1" = "<=" ] ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. In /usr/bin/gpgrt-config line 246: [ "$1" = "!=" -o "$1" = ">" -o "$1" = ">=" ] ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. In /usr/bin/gpgrt-config line 261: while [ -n "$___str1" -a -n "$___str2" ]; do ^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined. In /usr/bin/gpgrt-config line 270: if [ "$___char1" = ~ -o "$___char2" = ~ ]; then ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. In /usr/bin/gpgrt-config line 272: arg1_is_great $___cmp ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: arg1_is_great "$___cmp" In /usr/bin/gpgrt-config line 276: arg1_is_less $___cmp ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: arg1_is_less "$___cmp" In /usr/bin/gpgrt-config line 284: if [ -z "$___char1" -o -z "$___char2" ]; then ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. In /usr/bin/gpgrt-config line 290: arg1_is_great $___cmp ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: arg1_is_great "$___cmp" In /usr/bin/gpgrt-config line 294: arg1_is_less $___cmp ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: arg1_is_less "$___cmp" In /usr/bin/gpgrt-config line 308: if expr "$___chunk1" "!=" "$___chunk2" >/dev/null; then ^--^ SC2003: expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]]. In /usr/bin/gpgrt-config line 310: arg1_is_great $___cmp ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: arg1_is_great "$___cmp" In /usr/bin/gpgrt-config line 313: arg1_is_less $___cmp ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: arg1_is_less "$___cmp" In /usr/bin/gpgrt-config line 326: ~*) arg1_is_less $___cmp ;; ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: ~*) arg1_is_less "$___cmp" ;; In /usr/bin/gpgrt-config line 327: *) arg1_is_great $___cmp ;; ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: *) arg1_is_great "$___cmp" ;; In /usr/bin/gpgrt-config line 331: ~*) arg1_is_great $___cmp ;; ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: ~*) arg1_is_great "$___cmp" ;; In /usr/bin/gpgrt-config line 332: *) arg1_is_less $___cmp ;; ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: *) arg1_is_less "$___cmp" ;; In /usr/bin/gpgrt-config line 335: arg1_is_same $___cmp ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: arg1_is_same "$___cmp" In /usr/bin/gpgrt-config line 360: read_config_file $pkg $PKG_CONFIG_PATH ^--^ SC2086: Double quote to prevent globbing and word splitting. ^--------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: read_config_file "$pkg" "$PKG_CONFIG_PATH" In /usr/bin/gpgrt-config line 371: read_config_file $pkg $PKG_CONFIG_PATH ^--^ SC2086: Double quote to prevent globbing and word splitting. ^--------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: read_config_file "$pkg" "$PKG_CONFIG_PATH" In /usr/bin/gpgrt-config line 372: if ! eval_compare_version "$(get_attr Version)" $cmp $p; then ^--^ SC2086: Double quote to prevent globbing and word splitting. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: if ! eval_compare_version "$(get_attr Version)" "$cmp" "$p"; then In /usr/bin/gpgrt-config line 390: read_config_file $pkg $PKG_CONFIG_PATH ^--^ SC2086: Double quote to prevent globbing and word splitting. ^--------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: read_config_file "$pkg" "$PKG_CONFIG_PATH" In /usr/bin/gpgrt-config line 403: PKG_LIST=$(list_only_once $all_list) ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: PKG_LIST=$(list_only_once "$all_list") In /usr/bin/gpgrt-config line 415: if [ $1 = $_opt ]; then ^-- SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ "$1" = "$_opt" ]; then In /usr/bin/gpgrt-config line 441: exit $1 ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: exit "$1" In /usr/bin/gpgrt-config line 446: if [ $myname = gpgrt-config ]; then ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ "$myname" = gpgrt-config ]; then In /usr/bin/gpgrt-config line 467: if [ x"${PKG_CONFIG_LIBDIR:+set}" = xset -a -z "$PKG_CONFIG_LIBDIR" ]; then ^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined. In /usr/bin/gpgrt-config line 524: VAR_pc_sysrootdir="$PKG_CONFIG_SYSROOT_DIR" ^---------------^ SC2034: VAR_pc_sysrootdir appears unused. Verify use (or export if used externally). In /usr/bin/gpgrt-config line 559: delimiter=" ^-------^ SC2034: delimiter appears unused. Verify use (or export if used externally). In /usr/bin/gpgrt-config line 599: all_required_config_files $module_list ^----------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: all_required_config_files "$module_list" In /usr/bin/gpgrt-config line 602: read_config_file $p $PKG_CONFIG_PATH ^-- SC2086: Double quote to prevent globbing and word splitting. ^--------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: read_config_file "$p" "$PKG_CONFIG_PATH" In /usr/bin/gpgrt-config line 605: output="$(get_var $want_var)" ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: output="$(get_var "$want_var")" In /usr/bin/gpgrt-config line 617: if [ $p = "gpg-error" ]; then ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ "$p" = "gpg-error" ]; then In /usr/bin/gpgrt-config line 625: if [ -z "$want_var" -a -z "$want_attr" ]; then ^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined. In /usr/bin/gpgrt-config line 627: output="$output${output:+ }$(sysroot -I $(list_only_once $cflags))" ^-----------------------^ SC2046: Quote this to prevent word splitting. ^-----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: output="$output${output:+ }$(sysroot -I $(list_only_once "$cflags"))" In /usr/bin/gpgrt-config line 629: if [ $mt = yes -a -n "$mtcflags" ]; then ^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined. In /usr/bin/gpgrt-config line 634: output="$output${output:+ }$(sysroot -L $(list_only_once_for_libs $libs))" ^-- SC2046: Quote this to prevent word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: output="$output${output:+ }$(sysroot -L $(list_only_once_for_libs "$libs"))" In /usr/bin/gpgrt-config line 636: if [ $mt = yes -a -n "$mtlibs" ]; then ^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined. For more information: https://www.shellcheck.net/wiki/SC1083 -- This { is literal. Check expressi... https://www.shellcheck.net/wiki/SC2034 -- VAR_pc_sysrootdir appears unused.... https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...