oilshell.org

8 not-osh failures

exp/shootout/timing.sh
    	echo $((time -p $* >/dev/null) 2>&1) | awk '{print $4 "u " $6 "s " $2 "r"}'
  	                ^~
'_tmp/wild/src/exp/shootout/timing.sh':110: Unexpected token after arithmetic expression (Id.Word_Compound != Id.Arith_RParen)

  
cloud/sandstorm/install.sh
    _() {
    ^
'_tmp/wild/src/cloud/sandstorm/install.sh':46: Syntax error in expression (near Id.Op_RParen)

  
linux-4.8.7/tools/perf/perf-with-kcore.sh
    	KCORE=$(($SUDO "$PERF" buildid-cache -v -f -k /proc/kcore >/dev/null) 2>&1)
  	               ^
'_tmp/wild/src/linux-4.8.7/tools/perf/perf-with-kcore.sh':59: Unexpected token after arithmetic expression (Id.Word_Compound != Id.Arith_RParen)

  
esoteric/setup.shl/bin/setup
                    errcmd=( "${SETUP_STATE[$err.cmd]}" )
                                              ^
'_tmp/wild/src/esoteric/setup.shl/bin/setup':117: Unexpected token while parsing arithmetic: '.'

  
shell/modernish/uninstall.sh
    	is -L dir $installroot || exit 1 "not a directory: $installroot"
  	                                 ^
'_tmp/wild/src/shell/modernish/uninstall.sh':118: Unexpected argument to 'exit'

  
shell/modernish/share/doc/modernish/examples/copy-timestamps.sh
    		( *		) exit -u 2			;;
  		   		          ^
'_tmp/wild/src/shell/modernish/share/doc/modernish/examples/copy-timestamps.sh':59: Unexpected argument to 'exit'

  
shell/modernish/share/doc/modernish/examples/testshells.sh
    let $# || exit 2 "Specify one script to test, with optional arguments."
                   ^
'_tmp/wild/src/shell/modernish/share/doc/modernish/examples/testshells.sh':12: Unexpected argument to 'exit'

  
shell/modernish/share/doc/modernish/examples/get-firefox.sh
    	empty $version && exit 2 "Can't determine current Firefox-ESR version(s); pass one as an argument"
  	                         ^
'_tmp/wild/src/shell/modernish/share/doc/modernish/examples/get-firefox.sh':30: Unexpected argument to 'exit'