oilshell.org
211 parse failures
oil/test/spec.sh
func() {
^
_tmp/wild/src/oil/test/spec.sh:329: Syntax error in expression
hg-other/pygments-main/tests/examplefiles/stripheredoc.sh
cat <<-EOF
^~~
_tmp/wild/src/hg-other/pygments-main/tests/examplefiles/stripheredoc.sh:1: Couldn't find terminator for here doc that starts here
hg-other/pygments-main/tests/examplefiles/ltmain.sh
^
_tmp/wild/src/hg-other/pygments-main/tests/examplefiles/ltmain.sh:2849: Unexpected EOF while parsing command
hg-other/eigen/bench/perf_monitoring/gemm/run.sh
./make_plot.sh $PREFIX"c"$bench $bench
^
_tmp/wild/src/hg-other/eigen/bench/perf_monitoring/gemm/run.sh:154: Unexpected EOF reading double-quoted string that began here
minix/commands/scripts/mkdist.sh
echo $1 | sed 's/r[0-9]*$//
^
[ backticks at ... ]:1: Unexpected EOF in single-quoted string that began here
illumos-gate/usr/src/lib/libshell/common/scripts/numtree1.sh
[[ "${ typeset +p x.nodes ;}" == "" ]] && compound -a x.nodes
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/numtree1.sh:82: Unexpected token ' '
illumos-gate/usr/src/lib/libshell/common/scripts/simplefiletree1.sh
[[ "${ typeset +p x.nodes ; }" == "" ]] && compound -A x.nodes
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/simplefiletree1.sh:74: Unexpected token ' '
illumos-gate/usr/src/lib/libshell/common/scripts/shpiano.sh
["C3"]=( float freq=261.63 ; typeset sample_set="false" ; typeset -b sample )
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/shpiano.sh:61: Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/scripts/shtwitter.sh
integer numformelements=${#formdata.form[*]}
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/shtwitter.sh:55: Expected } after length expression, got '.'
illumos-gate/usr/src/lib/libshell/common/scripts/xmldocumenttree1.sh
while [[ "${s:currattrlen:1}" == ~(E)[[:blank:][:space:]] ]] ; do
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/xmldocumenttree1.sh:51: Expected ]]
illumos-gate/usr/src/lib/libshell/common/scripts/gnaw.sh
rect.columns=${ tput cols ; } || return 1
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/gnaw.sh:77: Unexpected token ' '
illumos-gate/usr/src/lib/libshell/common/scripts/svcproptree1.sh
[[ "${ typeset +p "tree[${servicename}].properties" ; }" == "" ]] && compound -A tree[${servicename}].properties
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/svcproptree1.sh:76: Unexpected token ' '
illumos-gate/usr/src/lib/libshell/common/scripts/crawlsrccomments.sh
while [[ "${s:currattrlen:1}" == ~(E)[[:blank:][:space:]] ]] ; do
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/crawlsrccomments.sh:78: Expected ]]
illumos-gate/usr/src/lib/libshell/common/scripts/cpvprint.sh
str="${ print -v var ; }"
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/cpvprint.sh:60: Unexpected token ' '
illumos-gate/usr/src/lib/libshell/common/scripts/mandelbrotset1.sh
rect.columns=${ tput cols ; } || return 1
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/mandelbrotset1.sh:67: Unexpected token ' '
illumos-gate/usr/src/lib/libshell/common/scripts/shman.sh
typeset mancf="${mandir_node.dir}/man.cf"
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/shman.sh:105: Expected } after var sub, got '.'
illumos-gate/usr/src/lib/libshell/common/scripts/filemutexdemo1.sh
[[ "$1" == "" ]] && return 1
^~
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/filemutexdemo1.sh:72: Unexpected token in array literal: '&&'
illumos-gate/usr/src/lib/libshell/common/scripts/primenumbers1.sh
(( max_pn=sqrt(num)+1. ))
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/primenumbers1.sh:57: Expected first ) to end arith statement, got '('
illumos-gate/usr/src/lib/libshell/common/scripts/shircbot.sh
redirect {_.fd}<> "/dev/tcp/${_.server.name}/${_.server.port}"
^~
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/shircbot.sh:76: Unexpected token in array literal: '<>'
illumos-gate/usr/src/lib/libshell/common/scripts/rssread.sh
[[ "$h" != ~(Eil)HTTP/.* ]] && { print -u2 -f $"%s: HTTP/ header missing\n" "$0" ; return 1 ; }
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/rssread.sh:87: Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/scripts/simplefileattributetree1.sh
[[ "${ typeset +p x.nodes ; }" == "" ]] && compound -A x.nodes
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/simplefileattributetree1.sh:75: Unexpected token ' '
illumos-gate/usr/src/lib/libshell/common/scripts/multifollow.sh
mkfifo "${files[${numfiles}].pipename}"
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/multifollow.sh:110: Expected } after var sub, got '.'
illumos-gate/usr/src/lib/libshell/common/scripts/filetree1.sh
if [[ ${node.mask} == ~(Er)@ ]] ; then
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/filetree1.sh:116: Expected } after var sub, got '.'
illumos-gate/usr/src/lib/libshell/common/scripts/shnote.sh
integer numformelements=${#formdata.form[*]}
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/shnote.sh:55: Expected } after length expression, got '.'
illumos-gate/usr/src/lib/libshell/common/tests/statics.sh
[[ "${
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/statics.sh:59: Unexpected token '\n'
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_vartree002.sh
for index in "${!srcdata.hashnodes[@]}" ; do
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_vartree002.sh:66: Expected } after var sub, got '.'
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6763594_command_failure_execs_twice.sh
s=$( < out_stderr ) ; [[ "$s" == ~(Elr)(.*:\ \./myfoo:\ \./myfoo:\ .*\[.*\]) ]] || err_exit "Output $(printf "%q\n" "$s") does not match pattern '~(Elr)(.*:\ \./myfoo:\ \./myfoo:\ .*\[.*\])'."
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6763594_command_failure_execs_twice.sh:90: Expected ]]
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6835835_builtin_cat_n_broken.sh
( name="test1a" cmd='integer i ; builtin cat ; for ((i=1 ; i <= 12 ; i++ )) ; do print ; done | cat -n | /usr/bin/cat ; true' )
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6835835_builtin_cat_n_broken.sh:105: Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_compoundvario.sh
(( bracketstat.bopen=0 , bracketstat.bclose=0 ))
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_compoundvario.sh:51: Unexpected token in arithmetic context
illumos-gate/usr/src/lib/libshell/common/tests/io.sh
( dir=/proc/self/fd semantics='open' )
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/io.sh:72: Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6904575_cut_-d_with_multibyte_character_no_longer_works.sh
(
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6904575_cut_-d_with_multibyte_character_no_longer_works.sh:101: Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/timetype.sh
get()
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/timetype.sh:34: Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/builtins.sh
(continue bad 2>/dev/null && err_exit 'continue bad should return an error')
^~~~~~~~
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/builtins.sh:150: Control flow shouldn't have redirects
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6805795_negative_zero.sh
print -- $(( copysign(0, -5) ))
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6805795_negative_zero.sh:80: Expected first ) to end arith sub, got '('
illumos-gate/usr/src/lib/libshell/common/tests/substring.sh
if [[ ${@/*\/@(*)/${.sh.match[1]}} != 'bar yes done' ]]
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/substring.sh:240: Unexpected token '.'
illumos-gate/usr/src/lib/libshell/common/tests/variables.sh
[[ ${.sh.version} == "$KSH_VERSION" ]] || err_exit '.sh.version != KSH_VERSION'
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/variables.sh:34: Unexpected token '.'
illumos-gate/usr/src/lib/libshell/common/tests/select.sh
do case $i in
^~
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/select.sh:43: Unexpected word when parsing command
illumos-gate/usr/src/lib/libshell/common/tests/pointtype.sh
len()
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/pointtype.sh:34: Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_staticvariables.sh
[[ "${
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_staticvariables.sh:67: Unexpected token '\n'
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_array_default_datatype.sh
(( bracketstat.bopen=0 , bracketstat.bclose=0 ))
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_array_default_datatype.sh:57: Unexpected token in arithmetic context
illumos-gate/usr/src/lib/libshell/common/tests/quoting2.sh
x=$((echo foo)|(cat))
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/quoting2.sh:75: Expected second ) to end arith sub, got '|'
illumos-gate/usr/src/lib/libshell/common/tests/tilde.sh
[[ $($tmp/tilde foo) == "$PWD$nl$PWD" ]] 2> /dev/null || err_exit 'tilde fails inside a script run by name'
^~
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/tilde.sh:94: Unexpected word while parsing command line
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_vartree001.sh
for index in "${!srcdata.hashnodes[@]}" ; do
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_vartree001.sh:81: Expected } after var sub, got '.'
illumos-gate/usr/src/lib/libshell/common/tests/coprocess.sh
{ : |& } 2>/dev/null ||
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/coprocess.sh:139: Unexpected right brace
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_vartree003.sh
for i in "${!xlfd_tree.l1[@]}" ; do
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_vartree003.sh:172: Expected } after var sub, got '.'
illumos-gate/usr/src/lib/libshell/common/tests/arrays2.sh
do [[ ${a[i][j]} == "$i$j" ]] || err_exit "\${a[$i][$j]} != $i$j"
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/arrays2.sh:37: Unexpected token '[' (VOp2)
illumos-gate/usr/src/lib/libshell/common/tests/nameref.sh
if [[ ${foo.child} != ${bar.child} ]]
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/nameref.sh:45: Expected } after var sub, got '.'
illumos-gate/usr/src/lib/libshell/common/tests/quoting.sh
x=$((echo foo)|(cat))
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/quoting.sh:74: Expected second ) to end arith sub, got '|'
illumos-gate/usr/src/lib/libshell/common/tests/functions.sh
abc() print hi
^~~~~
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/functions.sh:98: Unexpected word while parsing compound command
illumos-gate/usr/src/lib/libshell/common/tests/cubetype.sh
len()
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/cubetype.sh:41: Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_builtin_poll.sh
[y]=( fd=5 events="POLLIN" revents="" )
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_builtin_poll.sh:49: Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/treemove.sh
[[ "${tree1.subtree["a_node"].one}" == "hello" ]] || err_exit "expected tree1.subtree[\"a_node\"].one == 'hello', got ${tree1.subtree["a_node"].one}"
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/treemove.sh:80: Expected } after var sub, got '.'
illumos-gate/usr/src/lib/libshell/common/tests/vartree2.sh
for index in "${!srcdata.hashnodes[@]}" ; do
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/vartree2.sh:56: Expected } after var sub, got '.'
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_builtin_tail.sh
(
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_builtin_tail.sh:142: Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/append.sh
{ iarray+= (four five six) ;} 2> /dev/null
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/append.sh:42: Expected ( after =, got ' '
illumos-gate/usr/src/lib/libshell/common/tests/path.sh
[[ ${ foobar;} == foobar2 ]] || err_exit 'foobar should output foobar2 with ${}'
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/path.sh:60: Unexpected token ' '
illumos-gate/usr/src/lib/libshell/common/tests/types.sh
[[ $y == "${s.y}" ]] || err_exit 'y is not equal to s.y'
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/types.sh:55: Expected } after var sub, got '.'
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_locale_misc.sh
'LC_ALL="C" ; cd "nosuchdir2" ; (LC_ALL="ja_JP.UTF-8" ; cd "nosuchdir2") ; cd "nosuchdir2" ; true'
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_locale_misc.sh:119: Left-hand side of this assignment is invalid
illumos-gate/usr/src/lib/libshell/common/tests/options.sh
( nopipefail=0 pipefail=1 command='false|true|true' )
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/options.sh:359: Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6722134_background_CHLD_trap.sh
[[ "$s" == ~(Er)$'14\nloop finished\ndone' ]] || err_exit "Expected '14\nloop finished\ndone' at the end of the output, got ${s}."
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6722134_background_CHLD_trap.sh:80: Expected ]]
illumos-gate/usr/src/lib/libshell/common/tests/vartree1.sh
for index in "${!srcdata.hashnodes[@]}" ; do
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/vartree1.sh:51: Expected } after var sub, got '.'
illumos-gate/usr/src/lib/libshell/common/tests/recttype.sh
len()
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/recttype.sh:34: Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6904878_join_-t_no_longer_works_with_multibyte_char_separator.sh
(
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6904878_join_-t_no_longer_works_with_multibyte_char_separator.sh:97: Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/sigchld.sh
if [[ ${.sh.version} == Version?*([[:upper:]])J* ]]
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sigchld.sh:67: Unexpected token '.'
illumos-gate/usr/src/lib/libshell/common/tests/basic.sh
(( $($SHELL $tmp/scriptx) > 2.0 )) && err_exit 'command substitution causes pipefail option to hang'
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/basic.sh:368: Unexpected token in arithmetic context
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6805792_varmovetest1.sh
[[ "${tree1.subtree["a_node"].one}" == "hello" ]] || err_exit "Expected tree1.subtree[\"a_node\"].one == 'hello', got ${tree1.subtree["a_node"].one}"
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6805792_varmovetest1.sh:145: Expected } after var sub, got '.'
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6904557_wc_no_longer_counts_number_of_bytes_correctly.sh
(
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6904557_wc_no_longer_counts_number_of_bytes_correctly.sh:103: Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_compound_misc.sh
(( bracketstat.bopen=0 , bracketstat.bclose=0 ))
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_compound_misc.sh:57: Unexpected token in arithmetic context
illumos-gate/usr/src/lib/libshell/common/tests/expand.sh
set -- ~(N)/dev/null
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/expand.sh:111: Unexpected word while parsing command line
illumos-gate/usr/src/lib/libshell/common/tests/arith.sh
if (( 2.5 != 2.5 ))
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/arith.sh:60: Unexpected token in arithmetic context
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_command_substitution.sh
( name="test1a" cmd="builtin cat ; print -- \"\$(cat \"${tmpfile}\" | cat)\" ; true" )
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_command_substitution.sh:66: Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6855875_typeset_hexfloat_has_too_few_digits.sh
for (( x=-181. ; x < 361. ; x+=.1 )) ; do
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6855875_typeset_hexfloat_has_too_few_digits.sh:109: Unexpected token in arithmetic context
illumos-gate/usr/src/lib/libshell/common/tests/comvar.sh
if (( (p.x*p.x + p.y*p.y) > 1.01 ))
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/comvar.sh:35: Unexpected token in arithmetic context
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh
for vari.shell_options in \
^~~~~~~~~~~~~~~~~~
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6907460_EXIT_trap_handlers_are_sometimes_executed_twice.sh:123: Invalid loop variable name
illumos-gate/usr/src/lib/libshell/common/tests/arrays.sh
list= (foo bar bam)
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/arrays.sh:238: Expected ( after =, got ' '
illumos-gate/usr/src/lib/libshell/common/tests/subshell.sh
z.foo=( [one]=hello [two]=(x=3 y=4) [three]=hi)
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/subshell.sh:37: Expected ) in function definition
illumos-gate/usr/src/lib/libshell/common/tests/signal.sh
expected[---]="3-intr"
^
[ array LValue in _tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/signal.sh ]:236: Unexpected end of input
illumos-gate/usr/src/lib/libshell/common/tests/heredoc.sh
if [[ $(cat << EOF #testing
^~
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/heredoc.sh:143: Couldn't find terminator for here doc that starts here
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_compound_nameref.sh
(( ${ wc -l <<<"${out}" ; } == 4 )) || err_exit "Expected four lines of output, got ${out}"
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_compound_nameref.sh:107: Unexpected token ' '
illumos-gate/usr/src/lib/libshell/common/tests/bracket.sh
[[ aaaa == {4}(a) ]] || err_exit 'aaaa != {4}(a)'
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/bracket.sh:212: Expected ]]
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6881017_background_process_in_subshell_hangs_caller.sh
(( tdiff < (10.-2.) )) || err_exit "test run needed ${tdiff} seconds to complete (instead of < 8.)"
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6881017_background_process_in_subshell_hangs_caller.sh:78: Unexpected token in arithmetic context
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6789247_printf_hexfloat_rounding.sh
(( result == 2.0 )) || err_exit "result expected to be 2.0, got ${result}"
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6789247_printf_hexfloat_rounding.sh:107: Unexpected token in arithmetic context
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6800929_large_command_substitution_hang.sh
( name="test1a" cmd="builtin cat ; print -- \"\$(cat \"${tmpfile}\" | cat)\" ; true" )
^
_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6800929_large_command_substitution_hang.sh:110: Unexpected token in array literal: '('
illumos-gate/usr/src/test/os-tests/tests/pf_key/acquire-spray.sh
grep ACQUIRE $MONITOR_LOG | wc -l | awk '{print $1}
^
[ backticks at ... ]:1: Unexpected EOF in single-quoted string that began here
illumos-gate/usr/src/tools/scripts/nightly.sh
if [[ "${NIGHTLY_OPTIONS}" == ~(F)n ]] ; then
^
_tmp/wild/src/illumos-gate/usr/src/tools/scripts/nightly.sh:801: Expected ]]
illumos-gate/usr/src/tools/scripts/bldenv.sh
if ${flags.d} ; then
^
_tmp/wild/src/illumos-gate/usr/src/tools/scripts/bldenv.sh:253: Expected } after var sub, got '.'
illumos-gate/usr/src/tools/gk/cshrc.sh
set prompt="{${USER}:${HOSTNAME}:\!} "
^
_tmp/wild/src/illumos-gate/usr/src/tools/gk/cshrc.sh:53: Expected word type Id.KW_Fi, got Id.Eof_Real
illumos-gate/usr/src/tools/gk/login.sh
)
^
_tmp/wild/src/illumos-gate/usr/src/tools/gk/login.sh:69: Expected word type Id.KW_Fi, got Id.Eof_Real
illumos-gate/usr/src/tools/env/illumos.sh
if [[ $(/usr/sbin/prtconf 2>'/dev/null') == ~(E)Memory\ size:\ ([[:digit:]]+)\ Megabytes ]] ; then
^
_tmp/wild/src/illumos-gate/usr/src/tools/env/illumos.sh:70: Expected ]]
illumos-gate/usr/src/cmd/krb5/kadmin/kdcmgr/kdcmgr.sh
fi;&
^
_tmp/wild/src/illumos-gate/usr/src/cmd/krb5/kadmin/kdcmgr/kdcmgr.sh:717: Invalid word while parsing command
illumos-gate/usr/src/cmd/tail/tests/sun_solaris_tail.sh
(
^
_tmp/wild/src/illumos-gate/usr/src/cmd/tail/tests/sun_solaris_tail.sh:158: Unexpected token in array literal: '('
illumos-gate/usr/src/cmd/tsol/misc/txzonemgr.sh
if [[ $flags == ~(E).UP, ]] ; then
^
_tmp/wild/src/illumos-gate/usr/src/cmd/tsol/misc/txzonemgr.sh:746: Expected ]]
illumos-gate/usr/src/cmd/ipf/examples/mkfilters.sh
&irix_mkfilters || regular_mkfilters || die $!;
^
_tmp/wild/src/illumos-gate/usr/src/cmd/ipf/examples/mkfilters.sh:6: Invalid word while parsing command
illumos-gate/usr/src/cmd/ypcmd/multi.awk.sh
for (i = 2; i <= NF; i++) {
^
_tmp/wild/src/illumos-gate/usr/src/cmd/ypcmd/multi.awk.sh:46: Syntax error in expression
distro/woof-CE/woof-code/rootfs-packages/sandbox/usr/bin/rw-sandbox.sh
;&
^
_tmp/wild/src/distro/woof-CE/woof-code/rootfs-packages/sandbox/usr/bin/rw-sandbox.sh:188: Invalid word while parsing command
distro/woof-CE/woof-code/rootfs-skeleton/usr/share/doc/langpack-template/pinstall.sh
grep "\<Summary\ xml\:lang\="$LANG1" $XMLFILE
^
[ backticks at ... ]:1: Unexpected EOF reading double-quoted string that began here
distro/aboriginal/more/miniconfig.sh
Traceback (most recent call last):
File "/home/andy/git/oilshell/oil/bin/oil.py", line 918, in <module>
sys.exit(main(sys.argv))
File "/home/andy/git/oilshell/oil/bin/oil.py", line 876, in main
return AppBundleMain(argv)
File "/home/andy/git/oilshell/oil/bin/oil.py", line 846, in AppBundleMain
status = ShellMain('osh', argv0, main_argv, login_shell)
File "/home/andy/git/oilshell/oil/bin/oil.py", line 656, in ShellMain
status = main_loop.Batch(ex, c_parser, arena, nodes_out=nodes_out)
File "/home/andy/git/oilshell/oil/core/main_loop.py", line 148, in Batch
node = c_parser.ParseLogicalLine() # can raise ParseError
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 2011, in ParseLogicalLine
node = self._ParseCommandLine()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1872, in _ParseCommandLine
child = self.ParseAndOr()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1802, in ParseAndOr
child = self.ParsePipeline()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1748, in ParsePipeline
child = self.ParseCommand()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1663, in ParseCommand
return self.ParseCompoundCommand()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1428, in ParseCompoundCommand
n3 = self.ParseWhileUntil(keyword)
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1099, in ParseWhileUntil
body_node = self.ParseDoGroup()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 915, in ParseDoGroup
c_list = self._ParseCommandList() # could be any thing
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1994, in _ParseCommandList
node = self._ParseCommandTerm()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1935, in _ParseCommandTerm
child = self.ParseAndOr()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1802, in ParseAndOr
child = self.ParsePipeline()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1748, in ParsePipeline
child = self.ParseCommand()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1722, in ParseCommand
return self.ParseSimpleCommand()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 813, in ParseSimpleCommand
redirects, words, block = self._ScanSimpleCommand()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 551, in _ScanSimpleCommand
self._Peek()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 420, in _Peek
w = self.w_parser.ReadWord(self.next_lex_mode)
File "/home/andy/git/oilshell/oil/osh/word_parse.py", line 1469, in ReadWord
w, need_more = self._ReadWord(lex_mode)
File "/home/andy/git/oilshell/oil/osh/word_parse.py", line 1428, in _ReadWord
w = self._ReadCompoundWord(lex_mode)
File "/home/andy/git/oilshell/oil/osh/word_parse.py", line 1171, in _ReadCompoundWord
return self._ReadCompoundWord3(lex_mode, Id.Undefined_Tok, True)
File "/home/andy/git/oilshell/oil/osh/word_parse.py", line 1283, in _ReadCompoundWord3
part = self._ReadLeftParts()
File "/home/andy/git/oilshell/oil/osh/word_parse.py", line 592, in _ReadLeftParts
return self._ReadDoubleQuoted()
File "/home/andy/git/oilshell/oil/osh/word_parse.py", line 733, in _ReadDoubleQuoted
self._ReadLikeDQ(left_dq_token, parts)
File "/home/andy/git/oilshell/oil/osh/word_parse.py", line 694, in _ReadLikeDQ
part = self._ReadDoubleQuotedLeftParts()
File "/home/andy/git/oilshell/oil/osh/word_parse.py", line 583, in _ReadDoubleQuotedLeftParts
return self._ReadExprSub(lex_mode_e.DQ)
File "/home/andy/git/oilshell/oil/osh/word_parse.py", line 839, in _ReadExprSub
enode, _ = self.parse_ctx.ParseOilExpr(self.lexer, grammar_nt.oil_expr_sub)
File "/home/andy/git/oilshell/oil/frontend/parse_lib.py", line 401, in ParseOilExpr
ast_node = self.tr.Expr(pnode)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 564, in Expr
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 434, in Expr
return self._Tuple(children)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 221, in _Tuple
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 439, in Expr
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 466, in Expr
return self._AssocBinary(children)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 97, in _AssocBinary
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 470, in Expr
return self._AssocBinary(children)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 97, in _AssocBinary
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 475, in Expr
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 482, in Expr
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 489, in Expr
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 501, in Expr
return self._AssocBinary(children)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 97, in _AssocBinary
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 505, in Expr
return self._AssocBinary(children)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 97, in _AssocBinary
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 509, in Expr
return self._AssocBinary(children)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 97, in _AssocBinary
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 513, in Expr
return self._AssocBinary(children)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 97, in _AssocBinary
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 517, in Expr
return self._AssocBinary(children)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 104, in _AssocBinary
right = self.Expr(children[2])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 521, in Expr
return self._AssocBinary(children)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 97, in _AssocBinary
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 527, in Expr
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 539, in Expr
node = self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 430, in Expr
return self._Atom(children)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 281, in _Atom
return self._TestlistComp(children[1], id_)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 254, in _TestlistComp
if children[1].tok.id == Id.Arith_Comma:
IndexError: list index out of range
distro/aboriginal/sources/functions.sh
Traceback (most recent call last):
File "/home/andy/git/oilshell/oil/bin/oil.py", line 918, in <module>
sys.exit(main(sys.argv))
File "/home/andy/git/oilshell/oil/bin/oil.py", line 876, in main
return AppBundleMain(argv)
File "/home/andy/git/oilshell/oil/bin/oil.py", line 846, in AppBundleMain
status = ShellMain('osh', argv0, main_argv, login_shell)
File "/home/andy/git/oilshell/oil/bin/oil.py", line 656, in ShellMain
status = main_loop.Batch(ex, c_parser, arena, nodes_out=nodes_out)
File "/home/andy/git/oilshell/oil/core/main_loop.py", line 148, in Batch
node = c_parser.ParseLogicalLine() # can raise ParseError
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 2011, in ParseLogicalLine
node = self._ParseCommandLine()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1872, in _ParseCommandLine
child = self.ParseAndOr()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1802, in ParseAndOr
child = self.ParsePipeline()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1748, in ParsePipeline
child = self.ParseCommand()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1700, in ParseCommand
return self.ParseFunctionDef() # f() { echo; } # function
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1511, in ParseFunctionDef
func.body = self.ParseCompoundCommand()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1414, in ParseCompoundCommand
n1 = self.ParseBraceGroup()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 895, in ParseBraceGroup
c_list = self._ParseCommandList()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1994, in _ParseCommandList
node = self._ParseCommandTerm()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1935, in _ParseCommandTerm
child = self.ParseAndOr()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1802, in ParseAndOr
child = self.ParsePipeline()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1748, in ParsePipeline
child = self.ParseCommand()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1663, in ParseCommand
return self.ParseCompoundCommand()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1433, in ParseCompoundCommand
n4 = self.ParseIf()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1364, in ParseIf
self._ParseElifElse(if_node)
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1316, in _ParseElifElse
body = self._ParseCommandList()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1994, in _ParseCommandList
node = self._ParseCommandTerm()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 1941, in _ParseCommandTerm
self._Peek()
File "/home/andy/git/oilshell/oil/osh/cmd_parse.py", line 420, in _Peek
w = self.w_parser.ReadWord(self.next_lex_mode)
File "/home/andy/git/oilshell/oil/osh/word_parse.py", line 1469, in ReadWord
w, need_more = self._ReadWord(lex_mode)
File "/home/andy/git/oilshell/oil/osh/word_parse.py", line 1428, in _ReadWord
w = self._ReadCompoundWord(lex_mode)
File "/home/andy/git/oilshell/oil/osh/word_parse.py", line 1171, in _ReadCompoundWord
return self._ReadCompoundWord3(lex_mode, Id.Undefined_Tok, True)
File "/home/andy/git/oilshell/oil/osh/word_parse.py", line 1283, in _ReadCompoundWord3
part = self._ReadLeftParts()
File "/home/andy/git/oilshell/oil/osh/word_parse.py", line 617, in _ReadLeftParts
return self._ReadExprSub(lex_mode_e.ShCommand)
File "/home/andy/git/oilshell/oil/osh/word_parse.py", line 839, in _ReadExprSub
enode, _ = self.parse_ctx.ParseOilExpr(self.lexer, grammar_nt.oil_expr_sub)
File "/home/andy/git/oilshell/oil/frontend/parse_lib.py", line 401, in ParseOilExpr
ast_node = self.tr.Expr(pnode)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 564, in Expr
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 434, in Expr
return self._Tuple(children)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 221, in _Tuple
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 439, in Expr
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 466, in Expr
return self._AssocBinary(children)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 97, in _AssocBinary
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 470, in Expr
return self._AssocBinary(children)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 97, in _AssocBinary
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 475, in Expr
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 482, in Expr
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 489, in Expr
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 501, in Expr
return self._AssocBinary(children)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 97, in _AssocBinary
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 505, in Expr
return self._AssocBinary(children)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 97, in _AssocBinary
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 509, in Expr
return self._AssocBinary(children)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 97, in _AssocBinary
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 513, in Expr
return self._AssocBinary(children)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 97, in _AssocBinary
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 517, in Expr
return self._AssocBinary(children)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 97, in _AssocBinary
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 521, in Expr
return self._AssocBinary(children)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 104, in _AssocBinary
right = self.Expr(children[2])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 527, in Expr
return self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 539, in Expr
node = self.Expr(children[0])
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 430, in Expr
return self._Atom(children)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 281, in _Atom
return self._TestlistComp(children[1], id_)
File "/home/andy/git/oilshell/oil/oil_lang/expr_to_ast.py", line 254, in _TestlistComp
if children[1].tok.id == Id.Arith_Comma:
IndexError: list index out of range
distro/aboriginal/sources/toys/trximg.sh
BYTE=$[$DATA%256]
^
_tmp/wild/src/distro/aboriginal/sources/toys/trximg.sh:35: Unexpected token in expression mode
distro/aboriginal/sources/toys/unique-port.sh
echo $[($$%$RANGE)+$START]
^
_tmp/wild/src/distro/aboriginal/sources/toys/unique-port.sh:17: Unexpected token in expression mode
distro/portage/bin/helper-functions.sh
: $(( ${var} = fd ))
^
_tmp/wild/src/distro/portage/bin/helper-functions.sh:100: Left-hand side of this assignment is invalid
esoteric/make-a-lisp-bash/reader.sh
[[ "${str}" =~ ^^([][{}\(\)^@])|^(~@)|(\"(\\.|[^\\\"])*\")|^(;[^$'\n']*)|^([~\'\`])|^([^][ ~\`\'\";{}\(\)^@\,]+)|^[,]|^[[:space:]]+ ]]
^
_tmp/wild/src/esoteric/make-a-lisp-bash/reader.sh:121: Expected ]]
esoteric/make-a-lisp-bash/core.sh
[<]=num_lt
^
_tmp/wild/src/esoteric/make-a-lisp-bash/core.sh:375: Unexpected token in array literal: '<'
esoteric/CmdlineGL/share/lib-bash/Geom.lib
((${1}_x=${2}_x, ${1}_y=${2}_y, ${1}_z=${2}_z))
^
_tmp/wild/src/esoteric/CmdlineGL/share/lib-bash/Geom.lib:35: Left-hand side of this assignment is invalid
esoteric/CmdlineGL/share/lib-bash/Timing.lib
Timing_dT<1? Timing_dT=1 : 1,
^
_tmp/wild/src/esoteric/CmdlineGL/share/lib-bash/Timing.lib:70: Parser expected Id.Arith_Colon, got Id.Arith_Equal
esoteric/CmdlineGL/share/lib-bash/CmdlineGL.lib
&& (( $dest_var=fd )) \
^
_tmp/wild/src/esoteric/CmdlineGL/share/lib-bash/CmdlineGL.lib:162: Left-hand side of this assignment is invalid
esoteric/CmdlineGL/share/lib-bash/LinInterpolate.lib
(( FromVal=$Table[Idx], ToVal=$Table[Idx+1], Result= FromVal + (ToVal - FromVal)*Pct/Max ));
^
_tmp/wild/src/esoteric/CmdlineGL/share/lib-bash/LinInterpolate.lib:23: The [ operarator doesn't apply to this expression
esoteric/CmdlineGL/share/examples/FlightSim.sh
((Laser${idx}_Pos_x=$1, Laser${idx}_Pos_y=$2, Laser${idx}_Pos_z=$3, Laser${idx}_Travel=0))
^
_tmp/wild/src/esoteric/CmdlineGL/share/examples/FlightSim.sh:118: Left-hand side of this assignment is invalid
esoteric/CmdlineGL/share/examples/Robot.sh
(( Robot_Joints[i]=$FromAng[i]+($ToAng[i]-$FromAng[i])*Progress/100 ));
^
_tmp/wild/src/esoteric/CmdlineGL/share/examples/Robot.sh:377: The [ operarator doesn't apply to this expression
esoteric/setup.shl/lib/setup.shl
local arr="$1" i="${SETUP_STATE[$1.n]:-0}" arg
^
_tmp/wild/src/esoteric/setup.shl/lib/setup.shl:175: Unexpected token in arithmetic context
esoteric/j/j
[[ $json =~ $match(.*) ]] && { type=${!match}; return; }
^
_tmp/wild/src/esoteric/j/j:15: Syntax error in expression
google/bazel/compile.sh
[[ "${COMMANDS}" =~ ^$keywords(,$keywords)*$ ]] || usage "$@"
^
_tmp/wild/src/google/bazel/compile.sh:50: Syntax error in expression
freebsd-11.1/release/release.sh
load_chroot_env() { }
^
_tmp/wild/src/freebsd-11.1/release/release.sh:44: Unexpected right brace
freebsd-11.1/usr.bin/stat/tests/readlink_test.sh
}
^
_tmp/wild/src/freebsd-11.1/usr.bin/stat/tests/readlink_test.sh:59: Unexpected right brace
freebsd-11.1/usr.bin/ncal/tests/regress.sh
REGRESSION_START($1)
^~
_tmp/wild/src/freebsd-11.1/usr.bin/ncal/tests/regress.sh:11: Expected ) in function definition
freebsd-11.1/usr.bin/m4/tests/regress.sh
REGRESSION_START($1)
^~
_tmp/wild/src/freebsd-11.1/usr.bin/m4/tests/regress.sh:9: Expected ) in function definition
freebsd-11.1/usr.bin/uudecode/tests/regress.sh
REGRESSION_START($1)
^~
_tmp/wild/src/freebsd-11.1/usr.bin/uudecode/tests/regress.sh:5: Expected ) in function definition
freebsd-11.1/usr.bin/file2c/tests/regress.sh
REGRESSION_START($1)
^~
_tmp/wild/src/freebsd-11.1/usr.bin/file2c/tests/regress.sh:5: Expected ) in function definition
freebsd-11.1/usr.bin/comm/tests/regress.sh
REGRESSION_START($1)
^~
_tmp/wild/src/freebsd-11.1/usr.bin/comm/tests/regress.sh:5: Expected ) in function definition
freebsd-11.1/usr.bin/jot/tests/regress.sh
REGRESSION_START($1)
^~
_tmp/wild/src/freebsd-11.1/usr.bin/jot/tests/regress.sh:5: Expected ) in function definition
freebsd-11.1/usr.bin/bmake/tests/common.sh
}
^
_tmp/wild/src/freebsd-11.1/usr.bin/bmake/tests/common.sh:192: Unexpected right brace
freebsd-11.1/usr.bin/apply/tests/regress.sh
REGRESSION_START($1)
^~
_tmp/wild/src/freebsd-11.1/usr.bin/apply/tests/regress.sh:5: Expected ) in function definition
freebsd-11.1/usr.bin/xargs/tests/regress.sh
REGRESSION_START($1)
^~
_tmp/wild/src/freebsd-11.1/usr.bin/xargs/tests/regress.sh:5: Expected ) in function definition
freebsd-11.1/usr.bin/calendar/tests/regress.sh
REGRESSION_START($1)
^~
_tmp/wild/src/freebsd-11.1/usr.bin/calendar/tests/regress.sh:8: Expected ) in function definition
freebsd-11.1/usr.bin/printf/tests/regress.sh
REGRESSION_START($1)
^~
_tmp/wild/src/freebsd-11.1/usr.bin/printf/tests/regress.sh:3: Expected ) in function definition
freebsd-11.1/gnu/usr.bin/binutils/ld/genscripts.sh
fi
^~
_tmp/wild/src/freebsd-11.1/gnu/usr.bin/binutils/ld/genscripts.sh:45: Expected word type Id.KW_Then, got Id.KW_Fi
freebsd-11.1/usr.sbin/portsnap/portsnap/portsnap.sh
if !
^
_tmp/wild/src/freebsd-11.1/usr.sbin/portsnap/portsnap/portsnap.sh:956: Invalid word while parsing command
freebsd-11.1/contrib/netbsd-tests/bin/sh/t_arith.sh
atf_fail "Cannot estimate number of bits supported by $(( ))"
^
_tmp/wild/src/freebsd-11.1/contrib/netbsd-tests/bin/sh/t_arith.sh:990: Token can't be used in prefix position
freebsd-11.1/contrib/netbsd-tests/crypto/opencrypto/t_opencrypto.sh
}
^
_tmp/wild/src/freebsd-11.1/contrib/netbsd-tests/crypto/opencrypto/t_opencrypto.sh:88: Unexpected right brace
freebsd-11.1/contrib/netbsd-tests/rump/rumpnet/t_shmif.sh
}
^
_tmp/wild/src/freebsd-11.1/contrib/netbsd-tests/rump/rumpnet/t_shmif.sh:51: Unexpected right brace
freebsd-11.1/tests/sys/mac/bsdextended/matches_test.sh
pass()
^
_tmp/wild/src/freebsd-11.1/tests/sys/mac/bsdextended/matches_test.sh:14: Syntax error in expression
freebsd-11.1/tests/sys/acl/aclfuzzer.sh
}
^
_tmp/wild/src/freebsd-11.1/tests/sys/acl/aclfuzzer.sh:185: Unexpected right brace
freebsd-11.1/crypto/openssl/util/bat.sh
open(IN,"<$infile") || die "unable to open $infile:$!\n";
^~
_tmp/wild/src/freebsd-11.1/crypto/openssl/util/bat.sh:5: Expected ) in function definition
freebsd-11.1/tools/build/check-links.sh
setvar "${libkey}" "${lib_symbols}"
^
_tmp/wild/src/freebsd-11.1/tools/build/check-links.sh:89: Syntax error in expression
freebsd-11.1/tools/tools/sysbuild/sysbuild.sh
)
^
_tmp/wild/src/freebsd-11.1/tools/tools/sysbuild/sysbuild.sh:104: Invalid word while parsing command
freebsd-11.1/tools/tools/shlib-compat/test/regress.sh
REGRESSION_START($1)
^~
_tmp/wild/src/freebsd-11.1/tools/tools/shlib-compat/test/regress.sh:6: Expected ) in function definition
shell/ast/src/cmd/3d/features/syscall.sh
echo $lib | sed 's,\([^0-9]*[0-9]*\).*,\1,
^
[ backticks at ... ]:1: Unexpected EOF in single-quoted string that began here
shell/ast/src/cmd/std/seq.sh
if (( abs(floor(n) - n) <= 1e-12 ))
^
_tmp/wild/src/shell/ast/src/cmd/std/seq.sh:107: Expected first ) to end arith statement, got '('
shell/ast/src/cmd/INIT/ditto.sh
else (cd $src_dir && read && eval "${tw[@]}") 2>&1 |&
^~~~
_tmp/wild/src/shell/ast/src/cmd/INIT/ditto.sh:183: Unexpected word when parsing command
shell/ast/src/cmd/INIT/mktest.sh
if (( ${#STATE.RESET[@]} ))
^
_tmp/wild/src/shell/ast/src/cmd/INIT/mktest.sh:209: Expected } after length expression, got '.'
shell/ast/src/cmd/ksh93/data/bash_pre_rc.sh
.sh.value=${.sh.value//+([[:space:]])on*([[:space:]])/:}
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/data/bash_pre_rc.sh:62: Unexpected token '.'
shell/ast/src/cmd/ksh93/tests/statics.sh
compound out=( typeset stdout stderr ; integer res )
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/statics.sh:87: Unexpected token in array literal: ';'
shell/ast/src/cmd/ksh93/tests/math.sh
compound out=( typeset stdout stderr ; integer res )
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/math.sh:43: Unexpected token in array literal: ';'
shell/ast/src/cmd/ksh93/tests/namespace.sh
[[ ${bar.y} == 2 ]] || err_exit 'local variable bar.y not found'
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/namespace.sh:81: Expected } after var sub, got '.'
shell/ast/src/cmd/ksh93/tests/io.sh
( dir=/proc/self/fd semantics='open' )
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/io.sh:72: Unexpected token in array literal: '('
shell/ast/src/cmd/ksh93/tests/timetype.sh
get()
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/timetype.sh:34: Unexpected token in array literal: '('
shell/ast/src/cmd/ksh93/tests/builtins.sh
(continue bad 2>/dev/null && err_exit 'continue bad should return an error')
^~~~~~~~
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/builtins.sh:150: Control flow shouldn't have redirects
shell/ast/src/cmd/ksh93/tests/substring.sh
[[ ${.sh.match[0]} == dfg ]] || err_exit '.sh.match[0] not dfg'
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/substring.sh:267: Unexpected token '.'
shell/ast/src/cmd/ksh93/tests/variables.sh
[[ ${.sh.version} == "$KSH_VERSION" ]] || err_exit '.sh.version != KSH_VERSION'
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/variables.sh:34: Unexpected token '.'
shell/ast/src/cmd/ksh93/tests/select.sh
do case $i in
^~
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/select.sh:43: Unexpected word when parsing command
shell/ast/src/cmd/ksh93/tests/pointtype.sh
len()
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/pointtype.sh:34: Unexpected token in array literal: '('
shell/ast/src/cmd/ksh93/tests/quoting2.sh
x=$((echo foo)|(cat))
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/quoting2.sh:75: Expected second ) to end arith sub, got '|'
shell/ast/src/cmd/ksh93/tests/tilde.sh
[[ $($tmp/tilde foo) == "$PWD$nl$PWD" ]] 2> /dev/null || err_exit 'tilde fails inside a script run by name'
^~
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/tilde.sh:99: Unexpected word while parsing command line
shell/ast/src/cmd/ksh93/tests/coprocess.sh
{ : |& } 2>/dev/null ||
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/coprocess.sh:147: Unexpected right brace
shell/ast/src/cmd/ksh93/tests/arrays2.sh
do [[ ${a[i][j]} == "$i$j" ]] || err_exit "\${a[$i][$j]} != $i$j"
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/arrays2.sh:37: Unexpected token '[' (VOp2)
shell/ast/src/cmd/ksh93/tests/nameref.sh
if [[ ${foo.child} != ${bar.child} ]]
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/nameref.sh:45: Expected } after var sub, got '.'
shell/ast/src/cmd/ksh93/tests/leaks.sh
done {n}<&0-
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/leaks.sh:75: Unexpected word while parsing command line
shell/ast/src/cmd/ksh93/tests/quoting.sh
x=$((echo foo)|(cat))
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/quoting.sh:74: Expected second ) to end arith sub, got '|'
shell/ast/src/cmd/ksh93/tests/functions.sh
abc() print hi
^~~~~
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/functions.sh:101: Unexpected word while parsing compound command
shell/ast/src/cmd/ksh93/tests/cubetype.sh
len()
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/cubetype.sh:41: Unexpected token in array literal: '('
shell/ast/src/cmd/ksh93/tests/treemove.sh
[[ "${tree1.subtree["a_node"].one}" == "hello" ]] || err_exit "expected tree1.subtree[\"a_node\"].one == 'hello', got ${tree1.subtree["a_node"].one}"
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/treemove.sh:99: Expected } after var sub, got '.'
shell/ast/src/cmd/ksh93/tests/vartree2.sh
for index in "${!srcdata.hashnodes[@]}" ; do
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/vartree2.sh:56: Expected } after var sub, got '.'
shell/ast/src/cmd/ksh93/tests/comvario.sh
if typeset -f .sh.math.signbit >/dev/null && (( signbit(-NaN) ))
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/comvario.sh:54: Expected first ) to end arith statement, got '('
shell/ast/src/cmd/ksh93/tests/append.sh
{ iarray+= (four five six) ;} 2> /dev/null
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/append.sh:42: Expected ( after =, got ' '
shell/ast/src/cmd/ksh93/tests/path.sh
[[ ${ foobar;} == foobar2 ]] || err_exit 'foobar should output foobar2 with ${}'
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/path.sh:60: Unexpected token ' '
shell/ast/src/cmd/ksh93/tests/types.sh
[[ $y == "${s.y}" ]] || err_exit 'y is not equal to s.y'
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/types.sh:55: Expected } after var sub, got '.'
shell/ast/src/cmd/ksh93/tests/locale.sh
if [[ "$(LC_ALL=$locale $SHELL <<- \+EOF+
^~~
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/locale.sh:221: Couldn't find terminator for here doc that starts here
shell/ast/src/cmd/ksh93/tests/options.sh
( nopipefail=0 pipefail=1 command='false|true|true' )
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/options.sh:359: Unexpected token in array literal: '('
shell/ast/src/cmd/ksh93/tests/vartree1.sh
for index in "${!srcdata.hashnodes[@]}" ; do
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/vartree1.sh:51: Expected } after var sub, got '.'
shell/ast/src/cmd/ksh93/tests/recttype.sh
len()
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/recttype.sh:34: Unexpected token in array literal: '('
shell/ast/src/cmd/ksh93/tests/sigchld.sh
if [[ ${.sh.version} == Version?*([[:upper:]])J* ]]
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/sigchld.sh:67: Unexpected token '.'
shell/ast/src/cmd/ksh93/tests/basic.sh
(( $($SHELL $tmp/scriptx) > 2.0 )) && err_exit 'command substitution causes pipefail option to hang'
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/basic.sh:369: Unexpected token in arithmetic context
shell/ast/src/cmd/ksh93/tests/expand.sh
set -- ~(N)/dev/null
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/expand.sh:111: Unexpected word while parsing command line
shell/ast/src/cmd/ksh93/tests/arith.sh
if (( 2.5 != 2.5 ))
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/arith.sh:60: Unexpected token in arithmetic context
shell/ast/src/cmd/ksh93/tests/comvar.sh
if (( (p.x*p.x + p.y*p.y) > 1.01 ))
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/comvar.sh:35: Unexpected token in arithmetic context
shell/ast/src/cmd/ksh93/tests/arrays.sh
list= (foo bar bam)
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/arrays.sh:238: Expected ( after =, got ' '
shell/ast/src/cmd/ksh93/tests/subshell.sh
z.foo=( [one]=hello [two]=(x=3 y=4) [three]=hi)
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/subshell.sh:38: Expected ) in function definition
shell/ast/src/cmd/ksh93/tests/signal.sh
expected[---]="3-intr"
^
[ array LValue in _tmp/wild/src/shell/ast/src/cmd/ksh93/tests/signal.sh ]:252: Unexpected end of input
shell/ast/src/cmd/ksh93/tests/heredoc.sh
if [[ $(cat << EOF #testing
^~
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/heredoc.sh:143: Couldn't find terminator for here doc that starts here
shell/ast/src/cmd/ksh93/tests/bracket.sh
[[ aaaa == {4}(a) ]] || err_exit 'aaaa != {4}(a)'
^
_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/bracket.sh:218: Expected ]]
shell/ast/src/cmd/pax/tar.sh
; pax $mode "${options[@]}" "$@"
^
_tmp/wild/src/shell/ast/src/cmd/pax/tar.sh:325: Invalid word while parsing command
shell/ast/src/cmd/html/mm2bb.sh
map[.Cs]=.EX
^
[ array LValue in _tmp/wild/src/shell/ast/src/cmd/html/mm2bb.sh ]:161: Unexpected token in arithmetic context
shell/ast/src/cmd/html/mm2html.sh
[[ ${set[html.labels]} ]] || html.labels=0
^
_tmp/wild/src/shell/ast/src/cmd/html/mm2html.sh:221: Unexpected token in arithmetic context
shell/ast/src/cmd/html/mm2twiki.sh
map[.Cs]=.EX
^
[ array LValue in _tmp/wild/src/shell/ast/src/cmd/html/mm2twiki.sh ]:151: Unexpected token in arithmetic context
shell/mwc-sh/shql.sh
-e 's/)/ \\) /g'
^
[ backticks at ... ]:9: Unexpected EOF in single-quoted string that began here
shell/bats/libexec/bats-format-tap-stream
pass() {
^
_tmp/wild/src/shell/bats/libexec/bats-format-tap-stream:40: Syntax error in expression
shell/Bash-Snippets/tests/cheat.bats
}
^
_tmp/wild/src/shell/Bash-Snippets/tests/cheat.bats:5: Unexpected right brace
shell/Bash-Snippets/tests/taste.bats
}
^
_tmp/wild/src/shell/Bash-Snippets/tests/taste.bats:7: Unexpected right brace
shell/Bash-Snippets/tests/geo.bats
}
^
_tmp/wild/src/shell/Bash-Snippets/tests/geo.bats:5: Unexpected right brace
shell/Bash-Snippets/tests/cloudup.bats
}
^
_tmp/wild/src/shell/Bash-Snippets/tests/cloudup.bats:5: Unexpected right brace
shell/Bash-Snippets/tests/ytview.bats
}
^
_tmp/wild/src/shell/Bash-Snippets/tests/ytview.bats:5: Unexpected right brace
shell/Bash-Snippets/tests/stocks.bats
}
^
_tmp/wild/src/shell/Bash-Snippets/tests/stocks.bats:5: Unexpected right brace
shell/Bash-Snippets/tests/qrify.bats
}
^
_tmp/wild/src/shell/Bash-Snippets/tests/qrify.bats:5: Unexpected right brace
shell/Bash-Snippets/tests/weather.bats
}
^
_tmp/wild/src/shell/Bash-Snippets/tests/weather.bats:5: Unexpected right brace
shell/Bash-Snippets/tests/short.bats
}
^
_tmp/wild/src/shell/Bash-Snippets/tests/short.bats:5: Unexpected right brace
shell/Bash-Snippets/tests/movies.bats
}
^
_tmp/wild/src/shell/Bash-Snippets/tests/movies.bats:5: Unexpected right brace
shell/Bash-Snippets/tests/currency.bats
}
^
_tmp/wild/src/shell/Bash-Snippets/tests/currency.bats:5: Unexpected right brace
shell/Bash-Snippets/tests/crypt.bats
}
^
_tmp/wild/src/shell/Bash-Snippets/tests/crypt.bats:5: Unexpected right brace
shell/asdf/test/plugin_list_all_command.sh
}
^
_tmp/wild/src/shell/asdf/test/plugin_list_all_command.sh:22: Unexpected right brace
shell/modernish/install.sh
select msh_shell in $valid_shells; do
^~
_tmp/wild/src/shell/modernish/install.sh:179: Expected word type Id.Lit_RBrace, got Id.KW_Do
shell/mksh/test.sh
while getopts "C:e:fPp:QSs:t:v" ch; do case $ch {
^
_tmp/wild/src/shell/mksh/test.sh:8: Expected word type Id.KW_In, got Id.Lit_LBrace
shell/bash-completion/completions/export
;;&
^
_tmp/wild/src/shell/bash-completion/completions/export:16: Expected word type Id.KW_Esac, got Id.Op_Amp
shell/bash-completion/completions/wget
;;&
^
_tmp/wild/src/shell/bash-completion/completions/wget:29: Expected word type Id.KW_Esac, got Id.Op_Amp
shell/bash-completion/completions/slackpkg
;&
^
_tmp/wild/src/shell/bash-completion/completions/slackpkg:93: Invalid word while parsing command
shell/bash-completion/completions/mount.linux
;;&
^
_tmp/wild/src/shell/bash-completion/completions/mount.linux:83: Expected word type Id.KW_Esac, got Id.Op_Amp
git/t/t0200/test.sh
_("TEST: A Shell string xgettext won't get")
^
_tmp/wild/src/git/t/t0200/test.sh:14: Expected ) in function definition
cloud/chef-bcpc/legacy_scripts/cluster-vip.sh
echo $IPADDRESS | tr -d " | tr -d ,
^
[ backticks at ... ]:1: Unexpected EOF reading double-quoted string that began here
cloud/chef-bcpc/legacy_scripts/vm-to-cluster.sh
$VBM showvminfo $HOSTNAME --machinereadable | grep macaddress1 | tr -d " | tr = " " | awk '{print $2}'
^
[ backticks at ... ]:1: Unexpected EOF reading double-quoted string that began here
cloud/chef-bcpc/legacy_scripts/enroll_cobbler.sh
$VBM showvminfo --machinereadable $i | grep macaddress1 | cut -d " -f 2 | sed 's/.\{2\}/&:/g;s/:$//'
^
[ backticks at ... ]:1: Unexpected EOF reading double-quoted string that began here
cloud/kubernetes/cluster/openstack-heat/util.sh
while (( --$STACK_CREATE_TIMEOUT >= 0)) ;do
^~
_tmp/wild/src/cloud/kubernetes/cluster/openstack-heat/util.sh:65: This value can't be assigned to
pixelb-scripts/scripts/sematree/sematree
cur_val=$(($cur_val $op 1))
^
_tmp/wild/src/pixelb-scripts/scripts/sematree/sematree:64: Expected first ) to end arith sub, got ' '