Attached is a more recent list of all bashisms found in scripts in the source tarball with the '#!/bin/sh' shebang lines.
-- Regards, Andres
possible bashism in heartbeat-2.1.4/snmp_subagent/SNMPAgentSanityCheck line 214 (test -a/-o): [ -f $SNMPPIDFILE -a ! -z $SNMPPIDFILE ] possible bashism in heartbeat-2.1.4/snmp_subagent/SNMPAgentSanityCheck.in line 214 (test -a/-o): [ -f $SNMPPIDFILE -a ! -z $SNMPPIDFILE ] possible bashism in heartbeat-2.1.4/ConfigureMe line 64 (test -a/-o): [ -f /etc/UnitedLinux-release -a -s /etc/UnitedLinux-release ] possible bashism in heartbeat-2.1.4/ConfigureMe line 70 (test -a/-o): [ -f /etc/SuSE-release -a -s /etc/SuSE-release ] possible bashism in heartbeat-2.1.4/ConfigureMe line 84 (test -a/-o): [ -f /etc/redhat-release -a -s /etc/redhat-release ] possible bashism in heartbeat-2.1.4/ConfigureMe line 90 (test -a/-o): [ -f /etc/conectiva-release -a -s /etc/conectiva-release ] possible bashism in heartbeat-2.1.4/ConfigureMe line 96 (test -a/-o): [ -f /etc/debian_version -a -s /etc/debian_version ] possible bashism in heartbeat-2.1.4/ConfigureMe line 102 (test -a/-o): [ -f /etc/gentoo-release -a -s /etc/gentoo-release ] possible bashism in heartbeat-2.1.4/ConfigureMe line 298 (should be '.', not 'source'): source ./heartbeat/lib/ha_config && \ possible bashism in heartbeat-2.1.4/config.guess line 94 (trap with signal numbers): trap 'exit 1' 1 2 15 possible bashism in heartbeat-2.1.4/tsa_plugin/linuxha-adapter.in line 22 ('function' is useless): function logit () possible bashism in heartbeat-2.1.4/tsa_plugin/linuxha-adapter.in line 40 ('function' is useless): function getValue () possible bashism in heartbeat-2.1.4/tsa_plugin/linuxha-adapter.in line 58 ('function' is useless): function getJavaPath () possible bashism in heartbeat-2.1.4/tsa_plugin/linuxha-adapter.in line 76 ('function' is useless): function getStatus () possible bashism in heartbeat-2.1.4/tsa_plugin/linuxha-adapter.in line 91 ('function' is useless): function startEventd () possible bashism in heartbeat-2.1.4/tsa_plugin/linuxha-adapter.in line 108 ('function' is useless): function stopEventd () possible bashism in heartbeat-2.1.4/tsa_plugin/linuxha-adapter.in line 113 ('function' is useless): function startAdapter () possible bashism in heartbeat-2.1.4/tsa_plugin/linuxha-adapter.in line 173 ('function' is useless): function stopAdapter() possible bashism in heartbeat-2.1.4/heartbeat/init.d/heartbeat line 193 (test -a/-o): [ -f /proc/devices -a -x $MODPROBE ] possible bashism in heartbeat-2.1.4/heartbeat/init.d/heartbeat line 255 (test -a/-o): [ "X$WATCHDEV" != X -a ! -c "$WATCHDEV" -a $insmod = yes ] possible bashism in heartbeat-2.1.4/heartbeat/init.d/heartbeat line 308 (test -a/-o): [ -f $HA_DIR/ipresources -a ! -f $HA_DIR/haresources ] possible bashism in heartbeat-2.1.4/heartbeat/init.d/heartbeat.in line 193 (test -a/-o): [ -f /proc/devices -a -x $MODPROBE ] possible bashism in heartbeat-2.1.4/heartbeat/init.d/heartbeat.in line 255 (test -a/-o): [ "X$WATCHDEV" != X -a ! -c "$WATCHDEV" -a $insmod = yes ] possible bashism in heartbeat-2.1.4/heartbeat/init.d/heartbeat.in line 308 (test -a/-o): [ -f $HA_DIR/ipresources -a ! -f $HA_DIR/haresources ] possible bashism in heartbeat-2.1.4/heartbeat/lib/BasicSanityCheck.in line 96 (ulimit): ulimit -c unlimited possible bashism in heartbeat-2.1.4/heartbeat/lib/BasicSanityCheck.in line 416 (test -a/-o): [ $count -lt $min -o $count -gt $max ] possible bashism in heartbeat-2.1.4/heartbeat/lib/ResourceManager line 179 (test -a/-o): [ -f $dir/$script -a -x $dir/$script ] possible bashism in heartbeat-2.1.4/heartbeat/lib/ResourceManager line 221 (test -a/-o): [ -f "$spath" -a -x "$spath" ] possible bashism in heartbeat-2.1.4/heartbeat/lib/ResourceManager line 251 (test -a/-o): [ $HA_STOPRETRYMAX -le 0 -o $retries -lt $HA_STOPRETRYMAX ] && possible bashism in heartbeat-2.1.4/heartbeat/lib/BasicSanityCheck line 96 (ulimit): ulimit -c unlimited possible bashism in heartbeat-2.1.4/heartbeat/lib/BasicSanityCheck line 416 (test -a/-o): [ $count -lt $min -o $count -gt $max ] possible bashism in heartbeat-2.1.4/heartbeat/lib/ResourceManager.in line 179 (test -a/-o): [ -f $dir/$script -a -x $dir/$script ] possible bashism in heartbeat-2.1.4/heartbeat/lib/ResourceManager.in line 221 (test -a/-o): [ -f "$spath" -a -x "$spath" ] possible bashism in heartbeat-2.1.4/heartbeat/lib/ResourceManager.in line 251 (test -a/-o): [ $HA_STOPRETRYMAX -le 0 -o $retries -lt $HA_STOPRETRYMAX ] && possible bashism in heartbeat-2.1.4/cts/getpeinputs.sh.in line 82 (test -a/-o): test -z "$testnum" -o $testnum -lt 0 && { possible bashism in heartbeat-2.1.4/cts/getpeinputs.sh.in line 90 (test -a/-o): test "$starttime" -a "$endtime" || { possible bashism in heartbeat-2.1.4/cts/getpeinputs.sh line 82 (test -a/-o): test -z "$testnum" -o $testnum -lt 0 && { possible bashism in heartbeat-2.1.4/cts/getpeinputs.sh line 90 (test -a/-o): test "$starttime" -a "$endtime" || { possible bashism in heartbeat-2.1.4/depcomp line 139 (unsafe echo with backslash): echo "$object : \\" > "$depfile" possible bashism in heartbeat-2.1.4/depcomp line 183 (unsafe echo with backslash): echo "$object : \\" > "$depfile" possible bashism in heartbeat-2.1.4/depcomp line 533 (unsafe echo with backslash): echo "$object : \\" > "$depfile" possible bashism in heartbeat-2.1.4/depcomp line 563 (unsafe echo with backslash): echo "$object : \\" > "$depfile" possible bashism in heartbeat-2.1.4/libtool line 536 ($RANDOM): my_tmpdir="${my_template}-${RANDOM-0}$$" possible bashism in heartbeat-2.1.4/libtool line 1218 (trap with signal numbers): trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 possible bashism in heartbeat-2.1.4/libtool line 1237 (trap with signal numbers): trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 possible bashism in heartbeat-2.1.4/libtool line 4697 ($'...' should be "$(printf '...')"): reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test possible bashism in heartbeat-2.1.4/libtool line 5323 (trap with signal numbers): trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 possible bashism in heartbeat-2.1.4/libtool line 5676 (trap with signal numbers): trap "$rm $output; exit $EXIT_FAILURE" 1 2 15 possible bashism in heartbeat-2.1.4/bootstrap line 236 (test -a/-o): [ $LT_majvers -lt 1 ] || [ $LT_majvers = 1 -a $LT_minnum -lt 4 ] possible bashism in heartbeat-2.1.4/port/heartbeat/pkg-deinstall.in line 7 (local x y): local question default answer possible bashism in heartbeat-2.1.4/port/heartbeat/pkg-deinstall.in line 12 (read with option other than -r): read -p "${question} [${default}]? " answer possible bashism in heartbeat-2.1.4/port/heartbeat/pkg-deinstall.in line 21 (local x y): local dflt question answer possible bashism in heartbeat-2.1.4/port/heartbeat/pkg-deinstall.in line 36 (local x y): local u g home possible bashism in heartbeat-2.1.4/port/heartbeat/pkg-install.in line 9 (local x y): local question default answer possible bashism in heartbeat-2.1.4/port/heartbeat/pkg-install.in line 14 (read with option other than -r): read -p "${question} [${default}]? " answer possible bashism in heartbeat-2.1.4/port/heartbeat/pkg-install.in line 23 (local x y): local dflt question answer possible bashism in heartbeat-2.1.4/port/heartbeat/pkg-install.in line 38 (local x y): local u g gcos homeopt home possible bashism in heartbeat-2.1.4/port/heartbeat/pkg-install line 9 (local x y): local question default answer possible bashism in heartbeat-2.1.4/port/heartbeat/pkg-install line 14 (read with option other than -r): read -p "${question} [${default}]? " answer possible bashism in heartbeat-2.1.4/port/heartbeat/pkg-install line 23 (local x y): local dflt question answer possible bashism in heartbeat-2.1.4/port/heartbeat/pkg-install line 38 (local x y): local u g gcos homeopt home possible bashism in heartbeat-2.1.4/port/heartbeat/pkg-deinstall line 7 (local x y): local question default answer possible bashism in heartbeat-2.1.4/port/heartbeat/pkg-deinstall line 12 (read with option other than -r): read -p "${question} [${default}]? " answer possible bashism in heartbeat-2.1.4/port/heartbeat/pkg-deinstall line 21 (local x y): local dflt question answer possible bashism in heartbeat-2.1.4/port/heartbeat/pkg-deinstall line 36 (local x y): local u g home possible bashism in heartbeat-2.1.4/tools/hb_report.in line 423 (test -a/-o): if [ -f $d1/RUNNING -a -f $d2/RUNNING ] || possible bashism in heartbeat-2.1.4/tools/hb_report.in line 424 (test -a/-o): [ -f $d1/STOPPED -a -f $d2/STOPPED ]; then possible bashism in heartbeat-2.1.4/tools/hb_report.in line 721 (test -a/-o): if [ -z "$NO_SSH" -a `getnodes | wc -w` -gt 1 ]; then possible bashism in heartbeat-2.1.4/tools/hb_report.in line 742 (test -a/-o): [ "$l" = "$HA_LOG" -o ! -f "$l" ] && continue possible bashism in heartbeat-2.1.4/tools/ocf-tester.in line 296 (test -a/-o): if [ $has_promote -eq 1 -a $has_demote -eq 1 ]; then possible bashism in heartbeat-2.1.4/tools/ocf-tester.in line 318 (test -a/-o): elif [ $has_promote -eq 0 -a $has_demote -eq 0 ]; then possible bashism in heartbeat-2.1.4/tools/hb_report line 423 (test -a/-o): if [ -f $d1/RUNNING -a -f $d2/RUNNING ] || possible bashism in heartbeat-2.1.4/tools/hb_report line 424 (test -a/-o): [ -f $d1/STOPPED -a -f $d2/STOPPED ]; then possible bashism in heartbeat-2.1.4/tools/hb_report line 721 (test -a/-o): if [ -z "$NO_SSH" -a `getnodes | wc -w` -gt 1 ]; then possible bashism in heartbeat-2.1.4/tools/hb_report line 742 (test -a/-o): [ "$l" = "$HA_LOG" -o ! -f "$l" ] && continue possible bashism in heartbeat-2.1.4/tools/ocf-tester line 296 (test -a/-o): if [ $has_promote -eq 1 -a $has_demote -eq 1 ]; then possible bashism in heartbeat-2.1.4/tools/ocf-tester line 318 (test -a/-o): elif [ $has_promote -eq 0 -a $has_demote -eq 0 ]; then possible bashism in heartbeat-2.1.4/install-sh line 203 (trap with signal numbers): trap '(exit $?); exit' 1 2 13 15 possible bashism in heartbeat-2.1.4/install-sh line 341 ($RANDOM): tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ possible bashism in heartbeat-2.1.4/ylwrap line 104 (trap with signal numbers): trap "cd '`pwd`'; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15 possible bashism in heartbeat-2.1.4/lrm/test/lrmregtest.in line 175 (kill -[0-9] or -[A-Z]): if [ -f "$lockf" ] && kill -0 `cat $lockf` 2>/dev/null possible bashism in heartbeat-2.1.4/lrm/test/evaltest.sh line 45 (echo -n): echo -n "+" >&3 possible bashism in heartbeat-2.1.4/lrm/test/evaltest.sh line 96 (kill -[0-9] or -[A-Z]): while kill -0 $pid 2>/dev/null; do possible bashism in heartbeat-2.1.4/lrm/test/evaltest.sh line 122 (echo -n): echo -n "." >&3 possible bashism in heartbeat-2.1.4/lrm/test/lrmregtest line 175 (kill -[0-9] or -[A-Z]): if [ -f "$lockf" ] && kill -0 `cat $lockf` 2>/dev/null possible bashism in heartbeat-2.1.4/lrm/test/regression.sh.in line 212 (echo -n): echo -n "$testcase" >&3 possible bashism in heartbeat-2.1.4/lrm/test/regression.sh.in line 221 (echo -n): echo -n " checking..." >&3 possible bashism in heartbeat-2.1.4/lrm/test/regression.sh.in line 242 (test -a/-o): if [ "$a" -a -f "$TESTDIR/$a" ]; then possible bashism in heartbeat-2.1.4/lrm/test/regression.sh line 212 (echo -n): echo -n "$testcase" >&3 possible bashism in heartbeat-2.1.4/lrm/test/regression.sh line 221 (echo -n): echo -n " checking..." >&3 possible bashism in heartbeat-2.1.4/lrm/test/regression.sh line 242 (test -a/-o): if [ "$a" -a -f "$TESTDIR/$a" ]; then possible bashism in heartbeat-2.1.4/resources/heartbeat/OCF line 142 (test -a/-o): [ ! -f "$Resource_Script" -o ! -x "$Resource_Script" \ possible bashism in heartbeat-2.1.4/resources/heartbeat/OCF.in line 142 (test -a/-o): [ ! -f "$Resource_Script" -o ! -x "$Resource_Script" \ possible bashism in heartbeat-2.1.4/resources/heartbeat/LVSSyncDaemonSwap.in line 65 (echo -n): echo -n "$1 " possible bashism in heartbeat-2.1.4/resources/heartbeat/LVSSyncDaemonSwap.in line 157 (echo -e): echo -e $USAGE >&2 possible bashism in heartbeat-2.1.4/resources/heartbeat/LVSSyncDaemonSwap line 65 (echo -n): echo -n "$1 " possible bashism in heartbeat-2.1.4/resources/heartbeat/LVSSyncDaemonSwap line 157 (echo -e): echo -e $USAGE >&2 possible bashism in heartbeat-2.1.4/resources/OCF/SendArp line 217 (test -a/-o): if [ -z "$INTERFACE" -o -z "$BASEIP" -o -n "$RESIDUAL" ] possible bashism in heartbeat-2.1.4/resources/OCF/eDir88 line 189 (let ...): let CNT=$CNT+1 possible bashism in heartbeat-2.1.4/resources/OCF/eDir88 line 321 (declare): declare rc=$OCF_SUCCESS possible bashism in heartbeat-2.1.4/resources/OCF/drbd line 146 (local foo=bar): local cmd="$*" possible bashism in heartbeat-2.1.4/resources/OCF/drbd line 148 (local foo=bar): local cmd_out=$($cmd 2>&1) possible bashism in heartbeat-2.1.4/resources/OCF/drbd line 166 (local foo=bar): local cmd="$DRBDADM -c $DRBDCONF $*" possible bashism in heartbeat-2.1.4/resources/OCF/drbd line 168 (local foo=bar): local cmd_out=$($cmd 2>&1) possible bashism in heartbeat-2.1.4/resources/OCF/drbd line 172 (local foo=bar): local cmd_ret=$(echo $cmd_out | sed -e 's/found __DRBD_NODE__.*<<//;') possible bashism in heartbeat-2.1.4/resources/OCF/drbd line 270 ($'...' should be "$(printf '...')"): ocf_log err "Cannot load the drbd module."$'\n'; possible bashism in heartbeat-2.1.4/resources/OCF/drbd line 469 (local foo=bar): local n_type="$OCF_RESKEY_CRM_meta_notify_type" possible bashism in heartbeat-2.1.4/resources/OCF/drbd line 470 (local foo=bar): local n_op="$OCF_RESKEY_CRM_meta_notify_operation" possible bashism in heartbeat-2.1.4/resources/OCF/drbd line 472 (local foo=bar): local n_active="$#" possible bashism in heartbeat-2.1.4/resources/OCF/drbd line 474 (local foo=bar): local n_stop="$#" possible bashism in heartbeat-2.1.4/resources/OCF/drbd line 476 (local foo=bar): local n_start="$#" possible bashism in heartbeat-2.1.4/resources/OCF/Evmsd line 68 (local foo=bar): local PID=`pgrep evmsd` possible bashism in heartbeat-2.1.4/resources/OCF/Evmsd line 89 (local foo=bar): local PID=`pgrep evmsd` possible bashism in heartbeat-2.1.4/resources/OCF/Evmsd line 111 (local foo=bar): local PID=`pgrep evmsd` possible bashism in heartbeat-2.1.4/resources/OCF/ManageRAID line 67 (alternative test command ([[ foo ]] should be [ foo ])): if [[ ! -e $1 ]]; then possible bashism in heartbeat-2.1.4/resources/OCF/Pure-FTPd line 106 (kill -[0-9] or -[A-Z]): kill -0 "$1" > /dev/null possible bashism in heartbeat-2.1.4/resources/OCF/ids line 236 (test -a/-o): if [ $# -eq 2 -a -n "$1" -a -n "$2" ]; then possible bashism in heartbeat-2.1.4/resources/OCF/ids line 237 (test -a/-o): if [ "$idsdebug" = "true" -o "$1" = "error" ]; then possible bashism in heartbeat-2.1.4/resources/OCF/ids line 305 (test -a/-o): if [ -n "$OCF_RESKEY_informixdir" -a -n "$OCF_RESKEY_informixserver" -a -n "$OCF_RESKEY_onconfig" ]; then possible bashism in heartbeat-2.1.4/resources/OCF/ids line 319 (test -a/-o): if [ $rc -eq $OCF_SUCCESS -a -n "$INFORMIXDIR" -a -d "$INFORMIXDIR" ]; then possible bashism in heartbeat-2.1.4/resources/OCF/ids line 328 (test -a/-o): if [ $rc -eq $OCF_SUCCESS -a -n "$INFORMIXSERVER" ]; then possible bashism in heartbeat-2.1.4/resources/OCF/ids line 337 (test -a/-o): if [ $rc -eq $OCF_SUCCESS -a -n "$ONCONFIG" -a -s "$INFORMIXDIR/etc/$ONCONFIG" ]; then possible bashism in heartbeat-2.1.4/resources/OCF/ids line 341 (test -a/-o): if [ -z "$ONCONFIG" -a -s "$INFORMIXDIR/etc/onconfig" ]; then possible bashism in heartbeat-2.1.4/resources/OCF/ids line 347 (test -a/-o): if [ -z "$ONCONFIG" -a -s "$INFORMIXDIR/etc/onconfig.std" ]; then possible bashism in heartbeat-2.1.4/resources/OCF/ids line 361 (test -a/-o): if [ $rc -eq $OCF_SUCCESS -a -x "$INFORMIXDIR/bin/oninit" -a -x "$INFORMIXDIR/bin/onstat" -a -x "$INFORMIXDIR/bin/onmode" -a -x "$INFORMIXDIR/bin/dbaccess" ]; then possible bashism in heartbeat-2.1.4/resources/OCF/ids line 375 (test -a/-o): if [ $rc -eq $OCF_SUCCESS -a $inpath -ne 0 ]; then possible bashism in heartbeat-2.1.4/resources/OCF/ids line 386 (test -a/-o): if [ $rc -eq $OCF_SUCCESS -a $inldlibpath -ne 0 ]; then possible bashism in heartbeat-2.1.4/resources/OCF/ids line 396 (test -a/-o): if [ $rc -eq $OCF_SUCCESS -a -n "$OCF_RESKEY_dbname" ]; then possible bashism in heartbeat-2.1.4/resources/OCF/ids line 409 (test -a/-o): if [ $rc -eq $OCF_SUCCESS -a -n "$OCF_RESKEY_sqltestquery" ]; then possible bashism in heartbeat-2.1.4/resources/OCF/WinPopup line 149 (local foo=bar): local IFS=. possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 110 (echo -e): echo -e "$name:\t$value" possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 127 (${parm/?/pat[/str]}): cpu_type=${cpu_type/*: /} possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 130 (${parm/?/pat[/str]}): cpu_cores=${cpu_cores/*: /} possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 135 (${parm/?/pat[/str]}): cpu_type=${cpu_type/*: /} possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 137 (${parm/?/pat[/str]}): cpu_speed=${cpu_speed/*: /} possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 199 (${parm/?/pat[/str]}): if [ $mem != ${mem/./} ]; then possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 200 (${parm/?/pat[/str]}): mem_before=${mem/.*/} possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 201 (${parm/?/pat[/str]}): mem_after=${mem/*./} possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 202 ('$[' should be '$(('): mem=$[mem_before*1024] possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 206 ('$[' should be '$(('): mem=$[mem+100*$mem_after] possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 208 ('$[' should be '$(('): mem=$[mem+10*$mem_after] possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 210 ('$[' should be '$(('): mem=$[mem+$mem_after] possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 212 (${foo:3[:1]}): mem_after=${mem_after:0:3} possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 213 ('$[' should be '$(('): mem=$[mem+$mem_after] possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 217 (${parm/?/pat[/str]}): mem=${mem/.*/} possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 221 (${parm/?/pat[/str]}): mem=${mem/.*/} possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 225 (${parm/?/pat[/str]}): mem=${mem/.*/} possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 229 (${parm/?/pat[/str]}): mem=${mem/.*/} possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 232 (${parm/?/pat[/str]}): mem=${mem/.*/} possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 243 ('$[' should be '$(('): mem=$[mem+50] possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 244 ('$[' should be '$(('): mem=$[mem-$mem_round] possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 247 ('$[' should be '$(('): mem=$[mem+100] possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 248 ('$[' should be '$(('): mem=$[mem-$mem_round] possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 261 (${parm/?/pat[/str]}): disk=${disk/.*/} possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 265 (${parm/?/pat[/str]}): disk=${disk/.*/} possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 269 (${parm/?/pat[/str]}): disk=${disk/.*/} possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 273 (${parm/?/pat[/str]}): disk=${disk/.*/} possible bashism in heartbeat-2.1.4/resources/OCF/SysInfo line 277 (${parm/?/pat[/str]}): disk=${disk/.*/} possible bashism in heartbeat-2.1.4/resources/OCF/apache line 278 (test -a/-o): [ -d /proc -a -d /proc/1 ] possible bashism in heartbeat-2.1.4/resources/OCF/apache line 283 (kill -[0-9] or -[A-Z]): kill -0 "$ApachePID" >/dev/null 2>&1 possible bashism in heartbeat-2.1.4/resources/OCF/apache line 546 (test -a/-o): [ "X$HTTPD" = X -o ! -f "$HTTPD" -o ! -x "$HTTPD" ] possible bashism in heartbeat-2.1.4/resources/OCF/apache line 556 (test -a/-o): [ -f $h -a -x $h ] possible bashism in heartbeat-2.1.4/resources/OCF/MailTo line 135 (local foo=bar): local local_email=`echo $email | tr ",\t" " " | tr -s " "` possible bashism in heartbeat-2.1.4/resources/OCF/SAPDatabase line 539 (should be >word 2>&1): eval "$VALUE" >& /dev/null possible bashism in heartbeat-2.1.4/resources/OCF/SAPDatabase line 571 (test -a/-o): if [ $rc -ne 0 -a $OCF_RESKEY_AUTOMATIC_RECOVER -eq 1 ] possible bashism in heartbeat-2.1.4/resources/OCF/SAPDatabase line 682 (test -a/-o): if [ -f "$EXCEPTION" -a -f "$LOGGING" -a -f "$OPENSQLSTA" -a -f "$TC_SEC_SECSTOREFS" -a -f "$JDDI" -a -f "$ANTLR" -a -f "$FRAME" -a -f "$SAPDBCONNECT" ] possible bashism in heartbeat-2.1.4/resources/OCF/SAPDatabase line 690 (test -a/-o): if [ -f "$DB_JARS" -a -f "$SAPDBCONNECT" -a -f "$LAUNCHER" ] possible bashism in heartbeat-2.1.4/resources/OCF/SAPDatabase line 907 (test -a/-o): if [ -x $MYPATH/$EXESTARTDB -a -x $MYPATH/$EXESTOPDB -a -x $MYPATH/$EXEDBCONNECT ] possible bashism in heartbeat-2.1.4/resources/OCF/pingd line 174 (kill -[0-9] or -[A-Z]): kill -9 $pid possible bashism in heartbeat-2.1.4/resources/OCF/pingd line 177 (test -a/-o): if [ $rc = 0 -o $rc = 1 ]; then possible bashism in heartbeat-2.1.4/resources/OCF/pingd line 193 (kill -[0-9] or -[A-Z]): kill -0 $pid possible bashism in heartbeat-2.1.4/resources/OCF/Xinetd line 76 (kill -[0-9] or -[A-Z]): if kill -HUP $pid; then possible bashism in heartbeat-2.1.4/resources/OCF/Xinetd line 190 (type): type flags disable nice umask possible bashism in heartbeat-2.1.4/resources/OCF/Xinetd line 255 (test -a/-o): if [ ! -z "$type" -a "INTERNAL" != "$type" ]; then possible bashism in heartbeat-2.1.4/resources/OCF/Xinetd line 286 (test -a/-o): if [ $type = "TCPMUX" -o $type ="TCPMUXPLUS" ]; then possible bashism in heartbeat-2.1.4/resources/OCF/pgsql line 197 (should be >word 2>&1): if runasowner "$OCF_RESKEY_pgctl $OCF_RESKEY_ctl_opt -D $OCF_RESKEY_pgdata -l $OCF_RESKEY_logfile -o "\'$OCF_RESKEY_start_opt\'" start > /dev/null 2>&1" possible bashism in heartbeat-2.1.4/resources/OCF/pgsql line 273 (kill -[0-9] or -[A-Z]): kill -0 $PID >/dev/null 2>&1 && fuser $OCF_RESKEY_pgdata 2>&1 | grep $PID >/dev/null 2>&1 possible bashism in heartbeat-2.1.4/resources/OCF/pgsql line 396 (test -a/-o): if [ $US != root -a $US != $OCF_RESKEY_pgdba ] possible bashism in heartbeat-2.1.4/resources/OCF/ICP line 116 (local foo): local icp_out possible bashism in heartbeat-2.1.4/resources/OCF/IPsrcaddr line 224 (local foo=bar): local IFS=. possible bashism in heartbeat-2.1.4/resources/OCF/Xen line 169 (test -a/-o): if [ "$STATUS_NOSPACES" = "(status 2)" -o "$STATUS_NOSPACES" = "(status 1)" ]; then possible bashism in heartbeat-2.1.4/resources/OCF/Xen line 193 (test -a/-o): if [ ${RUNCNT} -eq 0 -a ${CNTNEW} -eq 0 ]; then possible bashism in heartbeat-2.1.4/resources/OCF/Xen line 277 (local foo): local timeout possible bashism in heartbeat-2.1.4/resources/OCF/Xen line 283 ('$[' should be '$(('): timeout=$[OCF_RESKEY_CRM_meta_timeout/1500] possible bashism in heartbeat-2.1.4/resources/OCF/Xen line 293 ('$[' should be '$(('): timeout=$[timeout-1] possible bashism in heartbeat-2.1.4/resources/OCF/oracle line 232 (test -a/-o): [ x != "x$ORACLE_HOME" -a x != "x$ORACLE_OWNER" ] || possible bashism in heartbeat-2.1.4/resources/OCF/oracle line 235 (test -a/-o): [ -x "$sqlplus" -a -x "$lsnrctl" -a -x "$tnsping" ] || possible bashism in heartbeat-2.1.4/resources/OCF/oracle line 264 (typeset): typeset func possible bashism in heartbeat-2.1.4/resources/OCF/oracle line 320 (typeset): typeset count possible bashism in heartbeat-2.1.4/resources/OCF/oracle line 325 (typeset): typeset output possible bashism in heartbeat-2.1.4/resources/OCF/oracle line 344 (typeset): typeset dumpdest=`dbasql getdumpdest` possible bashism in heartbeat-2.1.4/resources/OCF/oracle line 345 (test -a/-o): [ "x$dumpdest" != x -a -d "$dumpdest" ] || return 1 possible bashism in heartbeat-2.1.4/resources/OCF/oracle line 346 (typeset): typeset -i fcount=`ls -rt $dumpdest | wc -l` possible bashism in heartbeat-2.1.4/resources/OCF/oracle line 348 (typeset): typeset lastf=`ls -rt $dumpdest | grep -v '^\.*$' | tail -1` possible bashism in heartbeat-2.1.4/resources/OCF/oracle line 349 (typeset): typeset -i fcount2=`ls -rt $dumpdest | wc -l` possible bashism in heartbeat-2.1.4/resources/OCF/oracle line 354 (typeset): typeset inf=$1 possible bashism in heartbeat-2.1.4/resources/OCF/oracle line 380 (typeset): typeset what=$1 possible bashism in heartbeat-2.1.4/resources/OCF/oracle line 388 (typeset): typeset what=$1 id=$2 possible bashism in heartbeat-2.1.4/resources/OCF/oracle line 395 (typeset): typeset what id possible bashism in heartbeat-2.1.4/resources/OCF/oracle line 403 (typeset): typeset ipcobj possible bashism in heartbeat-2.1.4/resources/OCF/oracle line 452 (typeset): typeset status output possible bashism in heartbeat-2.1.4/resources/OCF/oracle line 515 (typeset): typeset status output ipc="" possible bashism in heartbeat-2.1.4/resources/OCF/oracle line 538 (typeset): typeset sig=$1 possible bashism in heartbeat-2.1.4/resources/OCF/oracle line 540 (kill -[0-9] or -[A-Z]): kill -$sig $* >/dev/null 2>&1 possible bashism in heartbeat-2.1.4/resources/OCF/oracle line 625 (test -a/-o): if [ $US != root -a $US != $ORACLE_OWNER ] possible bashism in heartbeat-2.1.4/resources/OCF/iscsi line 182 (test -a/-o): if [ $? -ne 0 -o x = "x$output" ]; then possible bashism in heartbeat-2.1.4/resources/OCF/SAPInstance line 189 (test -a/-o): while [ $srvrc -eq 1 -a `pgrep -f "sapstartsrv.*$runninginst" | wc -l` -gt 0 ] possible bashism in heartbeat-2.1.4/resources/OCF/SAPInstance line 227 (should be >word 2>&1): eval "$VALUE" >& /dev/null possible bashism in heartbeat-2.1.4/resources/OCF/SAPInstance line 289 (test -a/-o): if [ $loopcount -eq 1 -a $OCF_RESKEY_AUTOMATIC_RECOVER -eq 1 ] possible bashism in heartbeat-2.1.4/resources/OCF/SAPInstance line 401 (test -a/-o): if [ $count -eq 0 -a $rc -eq $OCF_SUCCESS ] possible bashism in heartbeat-2.1.4/resources/OCF/SAPInstance line 496 (test -a/-o): if [ -x /usr/sap/$SID/$InstanceName/exe/sapstartsrv -a -x /usr/sap/$SID/$InstanceName/exe/sapcontrol ] possible bashism in heartbeat-2.1.4/resources/OCF/SAPInstance line 501 (test -a/-o): elif [ -x /usr/sap/$SID/SYS/exe/run/sapstartsrv -a -x /usr/sap/$SID/SYS/exe/run/sapcontrol ] possible bashism in heartbeat-2.1.4/resources/OCF/mysql line 279 (test -a/-o): if [ -d /proc -a -d /proc/1 ]; then possible bashism in heartbeat-2.1.4/resources/OCF/mysql line 280 (test -a/-o): [ "u$pid" != "u" -a -d /proc/$pid ] possible bashism in heartbeat-2.1.4/resources/OCF/mysql line 282 (kill -[0-9] or -[A-Z]): kill -0 $pid >/dev/null 2>&1 possible bashism in heartbeat-2.1.4/resources/OCF/mysql line 298 (test -a/-o): if [ $OCF_CHECK_LEVEL = 0 -o $rc != 0 ]; then possible bashism in heartbeat-2.1.4/resources/OCF/mysql line 327 (test -a/-o): if [ "$OCF_RESKEY_enable_creation" = 1 -a ! -d $OCF_RESKEY_datadir/mysql] ; then possible bashism in heartbeat-2.1.4/resources/OCF/AudibleAlarm line 83 (echo -n): echo -ne "\a" > /dev/console possible bashism in heartbeat-2.1.4/resources/OCF/AudibleAlarm line 83 (echo -e): echo -ne "\a" > /dev/console possible bashism in heartbeat-2.1.4/resources/OCF/oralsnr line 160 (test -a/-o): [ x != "x$ORACLE_HOME" -a x != "x$ORACLE_OWNER" ] || possible bashism in heartbeat-2.1.4/resources/OCF/oralsnr line 163 (test -a/-o): [ -x "$sqlplus" -a -x "$lsnrctl" -a -x "$tnsping" ] || possible bashism in heartbeat-2.1.4/resources/OCF/oralsnr line 193 (typeset): typeset output possible bashism in heartbeat-2.1.4/resources/OCF/oralsnr line 214 (typeset): typeset status output possible bashism in heartbeat-2.1.4/resources/OCF/oralsnr line 242 (typeset): typeset sig=$1 possible bashism in heartbeat-2.1.4/resources/OCF/oralsnr line 244 (kill -[0-9] or -[A-Z]): kill -$sig $* >/dev/null 2>&1 possible bashism in heartbeat-2.1.4/resources/OCF/oralsnr line 333 (test -a/-o): if [ $US != root -a $US != $ORACLE_OWNER ] possible bashism in heartbeat-2.1.4/resources/OCF/IPaddr line 602 (test -a/-o): if [ "$SYSTYPE" = "DarwinBSD" -a "$NIC_unique" = "lo0" ]; then possible bashism in heartbeat-2.1.4/resources/OCF/IPaddr line 671 (test -a/-o): if [ $OCF_CHECK_LEVEL = 0 -o $rc != 0 ]; then possible bashism in heartbeat-2.1.4/resources/OCF/IPaddr line 729 (test -a/-o): if [ "$SYSTYPE" = "Linux" -o "$SYSTYPE" = "SunOS" ]; then possible bashism in heartbeat-2.1.4/resources/OCF/IPaddr line 824 (test -a/-o): [ ! -z "$OCF_RESKEY_netmask" -a -z "$OCF_RESKEY_cidr_netmask" ] possible bashism in heartbeat-2.1.4/resources/OCF/rsyncd line 117 (test -a/-o): if [ -n "$PIDFILE" -a -f $PIDFILE ]; then possible bashism in heartbeat-2.1.4/resources/OCF/rsyncd line 186 (kill -[0-9] or -[A-Z]): kill -SIGKILL $PID possible bashism in heartbeat-2.1.4/resources/OCF/rsyncd line 206 (test -a/-o): if [ -n "$OCF_RESKEY_binpath" -a ! -x "$OCF_RESKEY_binpath" ]; then possible bashism in heartbeat-2.1.4/resources/OCF/rsyncd line 210 (test -a/-o): if [ -n "$OCF_RESKEY_conffile" -a ! -f "$OCF_RESKEY_conffile" ]; then possible bashism in heartbeat-2.1.4/resources/OCF/ClusterMon line 144 (kill -[0-9] or -[A-Z]): kill -9 $pid possible bashism in heartbeat-2.1.4/resources/OCF/ClusterMon line 159 (kill -[0-9] or -[A-Z]): kill -0 $pid possible bashism in heartbeat-2.1.4/resources/OCF/WAS line 158 (test -a/-o): [ "X${XMLcat}" = X -o ! -x "${XMLcat}" ] possible bashism in heartbeat-2.1.4/resources/OCF/WAS line 466 (local foo=bar): local WASPorts=`GetWASPorts $arg` possible bashism in heartbeat-2.1.4/resources/OCF/WAS line 472 (local foo): local port possible bashism in heartbeat-2.1.4/resources/OCF/WAS line 473 (local foo=bar): local have_valid_port=false possible bashism in heartbeat-2.1.4/resources/OCF/IPaddr2 line 263 (test -a/-o): [ ! -z "$OCF_RESKEY_netmask" -a -z "$OCF_RESKEY_cidr_netmask" ] possible bashism in heartbeat-2.1.4/resources/OCF/IPaddr2 line 363 (local foo=bar): local iface=`$IP2UTIL -o -f inet addr show | grep "\ $BASEIP/" \ possible bashism in heartbeat-2.1.4/resources/OCF/IPaddr2 line 391 (test -a/-o): if [ $? -ne 0 -o ! -z "$ADDR" ]; then possible bashism in heartbeat-2.1.4/resources/OCF/IPaddr2 line 589 (local foo=bar): local ip_status=`ip_served` possible bashism in heartbeat-2.1.4/resources/OCF/IPaddr2 line 643 (local foo=bar): local ip_del_if="yes" possible bashism in heartbeat-2.1.4/resources/OCF/IPaddr2 line 661 (local foo=bar): local ip_status=`ip_served` possible bashism in heartbeat-2.1.4/resources/OCF/IPaddr2 line 710 (local foo=bar): local ip_status=`ip_served` possible bashism in heartbeat-2.1.4/resources/OCF/IPaddr2 line 753 (local foo=bar): local valid=1 possible bashism in heartbeat-2.1.4/resources/OCF/db2 line 128 (test -a/-o): [ -d "$db2sql" -a -d "$db2bin" -a -f "$db2profile" -a \ possible bashism in heartbeat-2.1.4/resources/OCF/db2 line 332 (test -a/-o): [ $US != root -a $US != $db2admin ] possible bashism in heartbeat-2.1.4/resources/OCF/SphinxSearchDaemon line 144 (kill -[0-9] or -[A-Z]): kill -0 "$1" > /dev/null && [ `ps -p "$1" | grep searchd | wc -l` -eq 1 ] possible bashism in heartbeat-2.1.4/ldirectord/init.d/ldirectord.in line 45 (echo -n): echo -n "$1... " possible bashism in heartbeat-2.1.4/ldirectord/init.d/ldirectord line 45 (echo -n): echo -n "$1... " possible bashism in heartbeat-2.1.4/cim/mof/do_register.sh line 312 ($'...' should be "$(printf '...')"): echo $'\t'-t cimserver: specify cimserver "[pegasus|openwbem|sfcb]". possible bashism in heartbeat-2.1.4/cim/mof/do_register.sh line 313 ($'...' should be "$(printf '...')"): echo $'\t'-u: Unregister possible bashism in heartbeat-2.1.4/cim/mof/do_register.sh line 314 ($'...' should be "$(printf '...')"): echo $'\t'-r regfile: specify reg file. possible bashism in heartbeat-2.1.4/cim/mof/do_register.sh line 315 ($'...' should be "$(printf '...')"): echo $'\t'-m moffile: specify mof file. possible bashism in heartbeat-2.1.4/lib/clplumbing/transient-test.sh line 84 (kill -[0-9] or -[A-Z]): kill -0 $client_pid > /dev/null 2>&1 possible bashism in heartbeat-2.1.4/lib/clplumbing/transient-test.sh line 86 (kill -[0-9] or -[A-Z]): kill -9 $client_pid > /dev/null 2>&1 possible bashism in heartbeat-2.1.4/lib/clplumbing/transient-test.sh line 104 (kill -[0-9] or -[A-Z]): kill -9 $server_pid > /dev/null 2>&1 possible bashism in heartbeat-2.1.4/lib/plugins/stonith/external/rackpdu line 53 (local foo=bar): local nodename=$1 possible bashism in heartbeat-2.1.4/lib/plugins/stonith/external/rackpdu line 59 (local foo=bar): local outlet_num=`grep $nodename $outlet_config | tr -d ' ' | cut -f2 -d'='` possible bashism in heartbeat-2.1.4/lib/plugins/stonith/external/rackpdu line 72 (local foo=bar): local outlet_num=1 possible bashism in heartbeat-2.1.4/lib/plugins/stonith/external/rackpdu line 73 (local foo=bar): local snmp_result=`snmpwalk -v1 -c $community $pduip $names_oid 2>&1` possible bashism in heartbeat-2.1.4/lib/plugins/stonith/external/rackpdu line 75 (local foo=bar): local names=`echo "$snmp_result" | cut -f2 -d'"' | tr ' ' '_' | tr '\012' ' '` possible bashism in heartbeat-2.1.4/lib/plugins/stonith/external/rackpdu line 79 (local foo=bar): local outlet_num=`expr $outlet_num + 1` possible bashism in heartbeat-2.1.4/lib/plugins/stonith/external/rackpdu line 93 (local foo=bar): local host=$1 possible bashism in heartbeat-2.1.4/lib/plugins/stonith/external/rackpdu line 94 (local foo=bar): local command=$2 possible bashism in heartbeat-2.1.4/lib/plugins/stonith/external/rackpdu line 97 (local foo=bar): local outlet=$? possible bashism in heartbeat-2.1.4/lib/plugins/stonith/external/rackpdu line 100 (local foo=bar): local set_result=`snmpset -v1 -c $community $pduip $oid.$outlet i $command 2>&1` possible bashism in heartbeat-2.1.4/lib/plugins/stonith/external/rackpdu line 101 (local foo=bar): local check_result=`echo "$set_result" | grep "Timeout"` possible bashism in heartbeat-2.1.4/lib/plugins/stonith/external/ibmrsa line 42 (test -a/-o): if [ x = "x$ipaddr" -o x = "x$userid" -o x = "x$passwd" ] possible bashism in heartbeat-2.1.4/lib/plugins/stonith/external/ibmrsa line 59 (test -a/-o): test $rc -eq 0 -a $? -eq 1 possible bashism in heartbeat-2.1.4/lib/plugins/stonith/external/ipmi line 47 (test -a/-o): if [ -z "${ipaddr}" -o -z "${userid}" -o -z "${passwd}" ]; then possible bashism in heartbeat-2.1.4/lib/plugins/stonith/external/ibmrsa.in line 42 (test -a/-o): if [ x = "x$ipaddr" -o x = "x$userid" -o x = "x$passwd" ] possible bashism in heartbeat-2.1.4/lib/plugins/stonith/external/ibmrsa.in line 59 (test -a/-o): test $rc -eq 0 -a $? -eq 1 possible bashism in heartbeat-2.1.4/configure line 474 (echo -n): case `echo -n x` in possible bashism in heartbeat-2.1.4/configure line 476 (unsafe echo with backslash): case `echo 'x\c'` in possible bashism in heartbeat-2.1.4/configure line 4304 ('function' is useless): function prototypes and stuff, but not '\xHH' hex character constants. possible bashism in heartbeat-2.1.4/configure line 36258 (test -a/-o): if test X"$CURSESLIBS" = X"" -a "$ac_cv_header_curses_h" = "yes"; then possible bashism in heartbeat-2.1.4/configure line 36331 (test -a/-o): if test X"$CURSESLIBS" = X"" -a "$ac_cv_header_curses_curses_h" = "yes"; then possible bashism in heartbeat-2.1.4/configure line 36598 (test -a/-o): if test $GCCVER -ge $firstver -a $GCCVER -lt $lastver; then possible bashism in heartbeat-2.1.4/configure line 36661 (test -a/-o): test -z "${GETENT}" -o ! -x "${GETENT}" possible bashism in heartbeat-2.1.4/configure line 36670 (test -a/-o): test -z "${IP2UTIL}" -o ! -x "${IP2UTIL}" possible bashism in heartbeat-2.1.4/configure line 39597 (export only takes -p as an option): export -n CFLAGS || true # We don't want to bomb out if this fails possible bashism in heartbeat-2.1.4/configure line 40046 (test -a/-o): if test -f $sysconfdir/pam.d/common-account -a \ possible bashism in heartbeat-2.1.4/configure line 40266 (test -a/-o): if test "$ac_cv_header_security_pam_appl_h" = "no" -a "$ac_cv_header_pam_pam_appl_h" = "no"; then possible bashism in heartbeat-2.1.4/configure line 40574 (test -a/-o): if test "xyes" = "x$enable_valgrind" -a "x$VALGRIND_BIN" != "x"; then possible bashism in heartbeat-2.1.4/configure line 40603 (test -a/-o): if test "xyes" = "x$enable_libc_malloc" -o "x1" = "x$enable_libc_malloc"; then
signature.asc
Description: This is a digitally signed message part.