In /usr/bin/autopoint line 32: : ${gettext_datadir="${datarootdir}/gettext"} ^-- SC2223: This default assignment may cause DoS due to globbing. Quote it. In /usr/bin/autopoint line 33: : ${AUTOM4TE=autom4te} ^------------------^ SC2223: This default assignment may cause DoS due to globbing. Quote it. In /usr/bin/autopoint line 44: : ${TMPDIR=/tmp} ^------------^ SC2223: This default assignment may cause DoS due to globbing. Quote it. In /usr/bin/autopoint 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/autopoint line 57: tmp=$TMPDIR/gt$$-$RANDOM ^-----^ SC2039: In POSIX sh, RANDOM is undefined. In /usr/bin/autopoint line 78: for exec_ext in ''; do ^-- SC2041: This is a literal string. To run as a command, use $(..) instead of '..' . In /usr/bin/autopoint 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/autopoint 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/autopoint 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/autopoint 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/autopoint 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/autopoint 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/autopoint 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/autopoint 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/autopoint 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/autopoint 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/autopoint 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/autopoint line 146: echo '\ ^-- SC1004: This backslash+linefeed is literal. Break outside single quotes if you just want to break the line. In /usr/bin/autopoint 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/autopoint line 287: srcdir=`pwd` ^---^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: srcdir=$(pwd) In /usr/bin/autopoint line 324: | "$AUTOM4TE" --language=M4sugar 2>&1 >/dev/null ^--^ SC2069: To redirect stdout+stderr, 2>&1 must be last (or use '{ cmd > file; } 2>&1' to clarify). In /usr/bin/autopoint line 329: xreq=`func_trace_sed AM_GNU_GETTEXT_REQUIRE_VERSION "$configure_in"` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: xreq=$(func_trace_sed AM_GNU_GETTEXT_REQUIRE_VERSION "$configure_in") In /usr/bin/autopoint line 333: xver=`func_trace_sed AM_GNU_GETTEXT_VERSION "$configure_in"` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: xver=$(func_trace_sed AM_GNU_GETTEXT_VERSION "$configure_in") In /usr/bin/autopoint line 349: xver=`cat intl/VERSION | LC_ALL=C sed -n -e 's/^.*gettext-\([-+_.0-9A-Za-z]*\).*$/\1/p'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^----------^ SC2002: Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead. Did you mean: xver=$(cat intl/VERSION | LC_ALL=C sed -n -e 's/^.*gettext-\([-+_.0-9A-Za-z]*\).*$/\1/p') In /usr/bin/autopoint line 391: 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/autopoint line 397: 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/autopoint line 399: 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/autopoint line 409: aclocal_amflags=`grep '^ACLOCAL_AMFLAGS[ ]*=' Makefile.am | sed -e 's/^ACLOCAL_AMFLAGS[ ]*=\(.*\)$/\1/'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: aclocal_amflags=$(grep '^ACLOCAL_AMFLAGS[ ]*=' Makefile.am | sed -e 's/^ACLOCAL_AMFLAGS[ ]*=\(.*\)$/\1/') In /usr/bin/autopoint line 426: m4dir=m4 ^---^ SC2209: Use var=$(command) to assign output (or quote to assign string). In /usr/bin/autopoint line 433: xargs=`func_trace_sed AM_GNU_GETTEXT "$configure_in"` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: xargs=$(func_trace_sed AM_GNU_GETTEXT "$configure_in") In /usr/bin/autopoint line 444: configfiles=`"$func_trace" AC_CONFIG_FILES "$configure_in"` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: configfiles=$("$func_trace" AC_CONFIG_FILES "$configure_in") In /usr/bin/autopoint line 450: podirs=`for f in $configfiles; do case "$f" in */Makefile.in) echo $f;; esac; done | sed -e "$sed_remove_Makefile_in"` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: podirs=$(for f in $configfiles; do case "$f" in */Makefile.in) echo "$f";; esac; done | sed -e "$sed_remove_Makefile_in") In /usr/bin/autopoint line 478: case "dirxz" in ^-----^ SC2194: This word is constant. Did you forget the $ on a variable? In /usr/bin/autopoint line 482: case "dirxz" in ^-----^ SC2194: This word is constant. Did you forget the $ on a variable? In /usr/bin/autopoint line 488: if test `find "$work_dir" -type f -print | wc -l` = 0; then ^-- SC2046: Quote this to prevent word splitting. ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if test $(find "$work_dir" -type f -print | wc -l) = 0; then In /usr/bin/autopoint line 590: cd "$work_dir" ^------------^ SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails. Did you mean: cd "$work_dir" || exit In /usr/bin/autopoint line 591: cvsver=gettext-`echo "$ver" | sed -e 's/\./_/g'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: cvsver=gettext-$(echo "$ver" | sed -e 's/\./_/g') In /usr/bin/autopoint line 593: find archive -name CVS -type d -print | xargs rm -rf ^-- SC2038: Use -print0/-0 or -exec + to allow for non-alphanumeric filenames. In /usr/bin/autopoint line 598: if test `find $work_dir/archive -name CVS -type d -print | wc -l` != 0; then ^-- SC2046: Quote this to prevent word splitting. ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if test $(find $work_dir/archive -name CVS -type d -print | wc -l) != 0; then In /usr/bin/autopoint line 602: if test `find $work_dir/archive -type f -print | wc -l` = 0; then ^-- SC2046: Quote this to prevent word splitting. ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if test $(find $work_dir/archive -type f -print | wc -l) = 0; then In /usr/bin/autopoint line 640: case `echo "$1" | sed -e 's,[^/]*$,,'` in ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: case $(echo "$1" | sed -e 's,[^/]*$,,') in In /usr/bin/autopoint line 648: m4/ ) destfile=`echo "$1" | sed -e "s,^m4/,$m4dir/,"` ;; ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: m4/ ) destfile=$(echo "$1" | sed -e "s,^m4/,$m4dir/,") ;; In /usr/bin/autopoint line 650: po/ ) destfile=`echo "$1" | sed -e "s,^po/,,"` allpodirs=yes ;; ^-----------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: po/ ) destfile=$(echo "$1" | sed -e "s,^po/,,") allpodirs=yes ;; In /usr/bin/autopoint line 673: existing_serial=`sed -n -e "$sed_extract_serial" < "$1"` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: existing_serial=$(sed -n -e "$sed_extract_serial" < "$1") In /usr/bin/autopoint line 674: gettext_serial=`sed -n -e "$sed_extract_serial" < "$2"` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: gettext_serial=$(sed -n -e "$sed_extract_serial" < "$2") In /usr/bin/autopoint line 697: for file in `find "$work_dir/archive" -type f -print | sed -e "s,^$work_dir/archive/,," | LC_ALL=C sort`; do ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: for file in $(find "$work_dir/archive" -type f -print | sed -e "s,^$work_dir/archive/,," | LC_ALL=C sort); do In /usr/bin/autopoint line 736: base=`echo "$1" | sed -e 's,/[^/]*$,,'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: base=$(echo "$1" | sed -e 's,/[^/]*$,,') In /usr/bin/autopoint line 740: base=`echo "$1" | sed -e 's,/[^/]*$,,'` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: base=$(echo "$1" | sed -e 's,/[^/]*$,,') In /usr/bin/autopoint line 775: for file in `find "$work_dir/archive" -type f -print | sed -e "s,^$work_dir/archive/,," | LC_ALL=C sort`; do ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: for file in $(find "$work_dir/archive" -type f -print | sed -e "s,^$work_dir/archive/,," | LC_ALL=C sort); do For more information: https://www.shellcheck.net/wiki/SC1007 -- Remove space after = if trying to... https://www.shellcheck.net/wiki/SC2034 -- CLICOLOR_FORCE appears unused. Ve... https://www.shellcheck.net/wiki/SC2038 -- Use -print0/-0 or -exec + to allo...