In /usr/bin/gettextize line 32: : ${gettext_datadir="${datarootdir}/gettext"} ^-- SC2223: This default assignment may cause DoS due to globbing. Quote it. In /usr/bin/gettextize line 33: : ${AUTOM4TE=autom4te} ^------------------^ SC2223: This default assignment may cause DoS due to globbing. Quote it. In /usr/bin/gettextize line 44: : ${TMPDIR=/tmp} ^------------^ SC2223: This default assignment may cause DoS due to globbing. Quote it. In /usr/bin/gettextize line 48: tmp=`(umask 077 && mktemp -d "$TMPDIR/gtXXXXXX") 2>/dev/null` && ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: tmp=$((umask 077 && mktemp -d "$TMPDIR/gtXXXXXX") 2>/dev/null) && In /usr/bin/gettextize line 57: tmp=$TMPDIR/gt$$-$RANDOM ^-----^ SC2039: In POSIX sh, RANDOM is undefined. In /usr/bin/gettextize line 78: for exec_ext in ''; do ^-- SC2041: This is a literal string. To run as a command, use $(..) instead of '..' . In /usr/bin/gettextize line 91: *) curr_executable=`pwd`/"$curr_executable" ;; ^---^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: *) curr_executable=$(pwd)/"$curr_executable" ;; In /usr/bin/gettextize line 97: lsline=`LC_ALL=C ls -l "$curr_executable"` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: lsline=$(LC_ALL=C ls -l "$curr_executable") In /usr/bin/gettextize line 100: linkdest=`echo "$lsline" | sed -n -e "$sed_linkdest"` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: linkdest=$(echo "$lsline" | sed -n -e "$sed_linkdest") In /usr/bin/gettextize line 103: *) curr_executable=`echo "$curr_executable" | sed -e "$sed_dirname"`/"$linkdest" ;; ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: *) curr_executable=$(echo "$curr_executable" | sed -e "$sed_dirname")/"$linkdest" ;; In /usr/bin/gettextize line 108: curr_installdir=`echo "$curr_executable" | sed -e 's,/[^/]*$,,'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: curr_installdir=$(echo "$curr_executable" | sed -e 's,/[^/]*$,,') In /usr/bin/gettextize line 110: curr_installdir=`cd "$curr_installdir" && pwd` ^----------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: curr_installdir=$(cd "$curr_installdir" && pwd) In /usr/bin/gettextize line 119: orig_last=`echo "$orig_installprefix" | sed -n -e 's,^.*/\([^/]*\)$,\1,p'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: orig_last=$(echo "$orig_installprefix" | sed -n -e 's,^.*/\([^/]*\)$,\1,p') In /usr/bin/gettextize line 120: curr_last=`echo "$curr_installprefix" | sed -n -e 's,^.*/\([^/]*\)$,\1,p'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: curr_last=$(echo "$curr_installprefix" | sed -n -e 's,^.*/\([^/]*\)$,\1,p') In /usr/bin/gettextize line 127: orig_installprefix=`echo "$orig_installprefix" | sed -e 's,/[^/]*$,,'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: orig_installprefix=$(echo "$orig_installprefix" | sed -e 's,/[^/]*$,,') In /usr/bin/gettextize line 128: curr_installprefix=`echo "$curr_installprefix" | sed -e 's,/[^/]*$,,'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: curr_installprefix=$(echo "$curr_installprefix" | sed -e 's,/[^/]*$,,') In /usr/bin/gettextize line 138: gettext_datadir=`echo "$gettext_datadir/" | sed -e "s%^${orig_installprefix}/%${curr_installprefix}/%" | sed -e 's,/$,,'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: gettext_datadir=$(echo "$gettext_datadir/" | sed -e "s%^${orig_installprefix}/%${curr_installprefix}/%" | sed -e 's,/$,,') In /usr/bin/gettextize line 146: echo '\ ^-- SC1004: This backslash+linefeed is literal. Break outside single quotes if you just want to break the line. In /usr/bin/gettextize line 229: CLICOLOR_FORCE= GREP_OPTIONS= ^------------^ SC2034: CLICOLOR_FORCE appears unused. Verify use (or export if used externally). ^-- SC1007: Remove space after = if trying to assign a value (for empty string, use var='' ... ). ^----------^ SC2034: GREP_OPTIONS appears unused. Verify use (or export if used externally). In /usr/bin/gettextize line 274: arg=`echo "X$1" | sed -e 's/^X--po-dir=//'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: arg=$(echo "X$1" | sed -e 's/^X--po-dir=//') In /usr/bin/gettextize line 315: origdir=`pwd` ^---^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: origdir=$(pwd) In /usr/bin/gettextize line 319: srcdir=`pwd` ^---^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: srcdir=$(pwd) In /usr/bin/gettextize line 369: auxdir=`"$func_trace" AC_CONFIG_AUX_DIR "$configure_in"` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: auxdir=$("$func_trace" AC_CONFIG_AUX_DIR "$configure_in") In /usr/bin/gettextize line 375: macrodirs=`"$func_trace" AC_CONFIG_MACRO_DIR_TRACE "$configure_in"` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: macrodirs=$("$func_trace" AC_CONFIG_MACRO_DIR_TRACE "$configure_in") In /usr/bin/gettextize line 377: macrodirs=`"$func_trace" AC_CONFIG_MACRO_DIR "$configure_in"` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: macrodirs=$("$func_trace" AC_CONFIG_MACRO_DIR "$configure_in") In /usr/bin/gettextize line 401: date=`date +%Y-%m-%d` ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: date=$(date +%Y-%m-%d) In /usr/bin/gettextize line 582: line=`echo "$line" | sed -e "s%^ \\* % * $m4dir/%"` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: line=$(echo "$line" | sed -e "s%^ \\* % * $m4dir/%") In /usr/bin/gettextize line 681: func_linkorcopy $file "$gettext_datadir/$file" $file ^---^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: func_linkorcopy "$file" "$gettext_datadir/$file" "$file" In /usr/bin/gettextize line 689: func_linkorcopy $file "$gettext_datadir/$file" "$auxdir$file" ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: func_linkorcopy "$file" "$gettext_datadir/$file" "$auxdir$file" In /usr/bin/gettextize line 696: cd intl ^-----^ SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails. Did you mean: cd intl || exit In /usr/bin/gettextize line 698: if test $file != COPYING.LIB-2.0 && test $file != COPYING.LIB-2.1; then ^---^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if test "$file" != COPYING.LIB-2.0 && test "$file" != COPYING.LIB-2.1; then In /usr/bin/gettextize line 699: if test $file != plural.c; then ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if test "$file" != plural.c; then In /usr/bin/gettextize line 700: func_linkorcopy $file "$gettext_datadir/intl/$file" intl/$file ^---^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: func_linkorcopy "$file" "$gettext_datadir/intl/$file" intl/"$file" In /usr/bin/gettextize line 703: func_copy $file intl/$file ^---^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: func_copy "$file" intl/"$file" In /usr/bin/gettextize line 710: cd .. ^---^ SC2103: Use a ( subshell ) to avoid having to cd back. In /usr/bin/gettextize line 717: xargs=`func_trace_sed AM_GNU_GETTEXT "$srcdir/$configure_in"` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: xargs=$(func_trace_sed AM_GNU_GETTEXT "$srcdir/$configure_in") In /usr/bin/gettextize line 735: cd po ^---^ SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails. Did you mean: cd po || exit In /usr/bin/gettextize line 738: for file in Makefile.in.in; do ^------------^ SC2043: This loop will only ever run once. Bad quoting or missing glob/expansion? In /usr/bin/gettextize line 767: missingvars=`LC_ALL=C comm -13 "$srcdir/$podir/Makevars.tmp1" "$srcdir/$podir/Makevars.tmp2"` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: missingvars=$(LC_ALL=C comm -13 "$srcdir/$podir/Makevars.tmp1" "$srcdir/$podir/Makevars.tmp2") In /usr/bin/gettextize line 786: if cmp -s $file "$srcdir/$podir/$file"; then ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if cmp -s "$file" "$srcdir/$podir/$file"; then In /usr/bin/gettextize line 798: func_linkorcopy $file "$gettext_datadir/po/$file" "$podir/$file" ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: func_linkorcopy "$file" "$gettext_datadir/po/$file" "$podir/$file" In /usr/bin/gettextize line 828: aclocal_version=`aclocal --version | sed -n -e 1p | sed -e 's/^[^0-9]*//'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: aclocal_version=$(aclocal --version | sed -n -e 1p | sed -e 's/^[^0-9]*//') In /usr/bin/gettextize line 859: aclocal_version=`aclocal --version | sed -n -e 1p | sed -e 's/^[^0-9]*//'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: aclocal_version=$(aclocal --version | sed -n -e 1p | sed -e 's/^[^0-9]*//') In /usr/bin/gettextize line 867: aclocal_amflags=`grep '^ACLOCAL_AMFLAGS[ ]*=' "$srcdir/Makefile.am" | sed -e 's/^ACLOCAL_AMFLAGS[ ]*=\(.*\)$/\1/'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: aclocal_amflags=$(grep '^ACLOCAL_AMFLAGS[ ]*=' "$srcdir/Makefile.am" | sed -e 's/^ACLOCAL_AMFLAGS[ ]*=\(.*\)$/\1/') In /usr/bin/gettextize line 895: m4dir=m4 ^---^ SC2209: Use var=$(command) to assign output (or quote to assign string). In /usr/bin/gettextize line 1023: added_directories_pretty=`echo $added_directories | sed -e 's/ /, /g'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^----------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: added_directories_pretty=$(echo "$added_directories" | sed -e 's/ /, /g') In /usr/bin/gettextize line 1050: added_directories_pretty=`echo $added_directories | sed -e 's/ /, /g'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^----------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: added_directories_pretty=$(echo "$added_directories" | sed -e 's/ /, /g') In /usr/bin/gettextize line 1095: added_extradist_pretty=`echo $added_extradist | sed -e 's/ /, /g'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^--------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: added_extradist_pretty=$(echo "$added_extradist" | sed -e 's/ /, /g') In /usr/bin/gettextize line 1176: added_acoutput_pretty=`echo $added_acoutput | sed -e 's/ /, /g'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^-------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: added_acoutput_pretty=$(echo "$added_acoutput" | sed -e 's/ /, /g') In /usr/bin/gettextize line 1181: added_acoutput_pretty=`echo $added_acoutput | sed -e 's/ /, /g'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^-------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: added_acoutput_pretty=$(echo "$added_acoutput" | sed -e 's/ /, /g') In /usr/bin/gettextize line 1237: sed -e '/^\(dnl \|\)AC_LINK_FILES(\$nls_cv_header_libgt, \$nls_cv_header_intl)$/d' < "$srcdir/$configure_in" > "$srcdir/$configure_in.tmp" ^-- SC2016: Expressions don't expand in single quotes, use double quotes for that. In /usr/bin/gettextize line 1240: if grep '^AM_GNU_GETTEXT_VERSION(' "$srcdir/$configure_in" 2>&1 >/dev/null; then ^--^ SC2069: To redirect stdout+stderr, 2>&1 must be last (or use '{ cmd > file; } 2>&1' to clarify). In /usr/bin/gettextize line 1247: use_libtool=`cat "$srcdir/$configure_in" | grep '^A[CM]_PROG_LIBTOOL'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^---------------------^ SC2002: Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead. Did you mean: use_libtool=$(cat "$srcdir/$configure_in" | grep '^A[CM]_PROG_LIBTOOL') In /usr/bin/gettextize line 1248: for file in `(cd "$srcdir"; find . -name Makefile.am -print; find . -name Makefile.in -print) | sed -e 's,^\./,,'`; do ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^----------^ SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails. Did you mean: for file in $((cd "$srcdir" || exit; find . -name Makefile.am -print; find . -name Makefile.in -print) | sed -e 's,^\./,,'); do In /usr/bin/gettextize line 1250: if test `echo "$file" | sed -e 's,^.*/,,'` = Makefile.in && grep automake "$srcdir/$file" >/dev/null 2>&1; then ^-- SC2046: Quote this to prevent word splitting. ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if test $(echo "$file" | sed -e 's,^.*/,,') = Makefile.in && grep automake "$srcdir/$file" >/dev/null 2>&1; then In /usr/bin/gettextize line 1257: please="$please ^-- SC1078: Did you forget to close this double quoted string? In /usr/bin/gettextize line 1258: Please change $file to use @""LTLIBINTL""@ or @""LIBINTL""@ instead of ^-- SC1079: This is actually an end quote, but due to next char it looks suspect. ^-- SC1078: Did you forget to close this double quoted string? In /usr/bin/gettextize line 1259: @""INTLLIBS""@. Which one, depends whether it is used with libtool or not. ^-- SC1079: This is actually an end quote, but due to next char it looks suspect. ^-- SC1078: Did you forget to close this double quoted string? In /usr/bin/gettextize line 1260: @""INTLLIBS""@ will go away. ^-- SC1079: This is actually an end quote, but due to next char it looks suspect. In /usr/bin/gettextize line 1263: please="$please ^-- SC1078: Did you forget to close this double quoted string? In /usr/bin/gettextize line 1264: Please change $file to use @""LIBINTL""@ instead of @""INTLLIBS""@. ^-- SC1079: This is actually an end quote, but due to next char it looks suspect. ^-- SC1078: Did you forget to close this double quoted string? In /usr/bin/gettextize line 1265: @""INTLLIBS""@ will go away. ^-- SC1079: This is actually an end quote, but due to next char it looks suspect. In /usr/bin/gettextize line 1272: please="$please ^-- SC1078: Did you forget to close this double quoted string? In /usr/bin/gettextize line 1274: @""DATADIRNAME""@. @""DATADIRNAME""@ will go away. ^-- SC1079: This is actually an end quote, but due to next char it looks suspect. In /usr/bin/gettextize line 1280: please="$please ^-- SC1078: Did you forget to close this double quoted string? In /usr/bin/gettextize line 1282: @""INSTOBJEXT""@. @""INSTOBJEXT""@ will go away. ^-- SC1079: This is actually an end quote, but due to next char it looks suspect. In /usr/bin/gettextize line 1287: please="$please ^-- SC1078: Did you forget to close this double quoted string? In /usr/bin/gettextize line 1289: @""GENCAT""@. @""GENCAT""@ will go away. Maybe you don't even need it any more? ^-- SC1079: This is actually an end quote, but due to next char it looks suspect. In /usr/bin/gettextize line 1295: please="$please ^-- SC1078: Did you forget to close this double quoted string? In /usr/bin/gettextize line 1297: @""POSUB""@. @""POSUB""@ will go away. ^-- SC1079: This is actually an end quote, but due to next char it looks suspect. In /usr/bin/gettextize line 1304: if grep '\$nls_cv_header_' "$srcdir/$configure_in" >/dev/null 2>&1; then ^----------------^ SC2016: Expressions don't expand in single quotes, use double quotes for that. In /usr/bin/gettextize line 1331: count=`echo "$please" | grep '^$' | wc -l` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^-------^ SC2126: Consider using grep -c instead of grep|wc -l. Did you mean: count=$(echo "$please" | grep '^$' | wc -l) In /usr/bin/gettextize line 1332: count=`echo "$count" | sed -e 's/[ ]//g'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: count=$(echo "$count" | sed -e 's/[ ]//g') In /usr/bin/gettextize line 1344: read dummy < /dev/tty ^--^ SC2162: read without -r will mangle backslashes. ^---^ SC2034: dummy appears unused. Verify use (or export if used externally). For more information: https://www.shellcheck.net/wiki/SC1007 -- Remove space after = if trying to... https://www.shellcheck.net/wiki/SC1078 -- Did you forget to close this doub... https://www.shellcheck.net/wiki/SC2034 -- CLICOLOR_FORCE appears unused. Ve...