In /usr/bin/pcre2-config line 36:
  -*=*) 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/pcre2-config line 48:
      echo $prefix
           ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
      echo "$prefix"


In /usr/bin/pcre2-config line 55:
      echo $exec_prefix
           ^----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
      echo "$exec_prefix"


In /usr/bin/pcre2-config line 61:
      if test ${prefix}/include != /usr/include ; then
              ^-------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
      if test "${prefix}"/include != /usr/include ; then


In /usr/bin/pcre2-config line 68:
        if test ${prefix}/include != /usr/include ; then
                ^-------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
        if test "${prefix}"/include != /usr/include ; then


In /usr/bin/pcre2-config line 78:
        echo $libS$libR -lpcre2-posix -lpcre2-8
             ^---^ SC2086: Double quote to prevent globbing and word splitting.
                  ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
        echo "$libS""$libR" -lpcre2-posix -lpcre2-8


In /usr/bin/pcre2-config line 85:
        echo $libS$libR -lpcre2-8
             ^---^ SC2086: Double quote to prevent globbing and word splitting.
                  ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
        echo "$libS""$libR" -lpcre2-8


In /usr/bin/pcre2-config line 92:
        echo $libS$libR -lpcre2-16
             ^---^ SC2086: Double quote to prevent globbing and word splitting.
                  ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
        echo "$libS""$libR" -lpcre2-16


In /usr/bin/pcre2-config line 99:
        echo $libS$libR -lpcre2-32
             ^---^ SC2086: Double quote to prevent globbing and word splitting.
                  ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
        echo "$libS""$libR" -lpcre2-32

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