oilshell.org
232 parse failures
hg-other/pygments-main/tests/examplefiles/stripheredoc.sh
Line 1 of '_tmp/wild/src/hg-other/pygments-main/tests/examplefiles/stripheredoc.sh'
cat <<-EOF
^~~
Couldn't find terminator for here doc that starts here
hg-other/pygments-main/tests/examplefiles/ltmain.sh
Line 2849 of '_tmp/wild/src/hg-other/pygments-main/tests/examplefiles/ltmain.sh'
^
Unexpected EOF while parsing command
hg-other/eigen/bench/perf_monitoring/gemm/run.sh
Line 154 of '_tmp/wild/src/hg-other/eigen/bench/perf_monitoring/gemm/run.sh'
./make_plot.sh $PREFIX"c"$bench $bench
^
Unexpected EOF reading double-quoted string that began here
minix/lib/generate.sh
Line 50 of '_tmp/wild/src/minix/lib/generate.sh'
{
^
Expected word type <Id_t KW_Do 205>, got <Id_t Lit_LBrace 18>
minix/commands/scripts/mkdist.sh
Line 1 of "Backticks at line -1 of 'TODO'"
echo $1 | sed 's/r[0-9]*$//
^
Unexpected EOF in single-quoted string that began here
illumos-gate/usr/src/lib/libshell/common/scripts/numtree1.sh
Line 82 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/numtree1.sh'
[[ "${ typeset +p x.nodes ;}" == "" ]] && compound -a x.nodes
^
Unexpected token ' '
illumos-gate/usr/src/lib/libshell/common/scripts/simplefiletree1.sh
Line 74 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/simplefiletree1.sh'
[[ "${ typeset +p x.nodes ; }" == "" ]] && compound -A x.nodes
^
Unexpected token ' '
illumos-gate/usr/src/lib/libshell/common/scripts/shpiano.sh
Line 61 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/shpiano.sh'
["C3"]=( float freq=261.63 ; typeset sample_set="false" ; typeset -b sample )
^
Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/scripts/shtwitter.sh
Line 55 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/shtwitter.sh'
integer numformelements=${#formdata.form[*]}
^
Expected } after length expression, got '.'
illumos-gate/usr/src/lib/libshell/common/scripts/xmldocumenttree1.sh
Line 51 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/xmldocumenttree1.sh'
while [[ "${s:currattrlen:1}" == ~(E)[[:blank:][:space:]] ]] ; do
^
Expected ]]
illumos-gate/usr/src/lib/libshell/common/scripts/gnaw.sh
Line 77 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/gnaw.sh'
rect.columns=${ tput cols ; } || return 1
^
Unexpected token ' '
illumos-gate/usr/src/lib/libshell/common/scripts/svcproptree1.sh
Line 76 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/svcproptree1.sh'
[[ "${ typeset +p "tree[${servicename}].properties" ; }" == "" ]] && compound -A tree[${servicename}].properties
^
Unexpected token ' '
illumos-gate/usr/src/lib/libshell/common/scripts/crawlsrccomments.sh
Line 46 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/crawlsrccomments.sh'
compound -r ch=(
^~~
Commands can't contain array literals
illumos-gate/usr/src/lib/libshell/common/scripts/cpvprint.sh
Line 60 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/cpvprint.sh'
str="${ print -v var ; }"
^
Unexpected token ' '
illumos-gate/usr/src/lib/libshell/common/scripts/mandelbrotset1.sh
Line 67 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/mandelbrotset1.sh'
rect.columns=${ tput cols ; } || return 1
^
Unexpected token ' '
illumos-gate/usr/src/lib/libshell/common/scripts/shman.sh
Line 105 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/shman.sh'
typeset mancf="${mandir_node.dir}/man.cf"
^
Expected } after var sub, got '.'
illumos-gate/usr/src/lib/libshell/common/scripts/filemutexdemo1.sh
Line 72 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/filemutexdemo1.sh'
[[ "$1" == "" ]] && return 1
^~
Unexpected token in array literal: '&&'
illumos-gate/usr/src/lib/libshell/common/scripts/primenumbers1.sh
Line 57 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/primenumbers1.sh'
(( max_pn=sqrt(num)+1. ))
^
Unexpected token in arithmetic context
illumos-gate/usr/src/lib/libshell/common/scripts/shircbot.sh
Line 76 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/shircbot.sh'
redirect {_.fd}<> "/dev/tcp/${_.server.name}/${_.server.port}"
^~
Unexpected token in array literal: '<>'
illumos-gate/usr/src/lib/libshell/common/scripts/rssread.sh
Line 87 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/rssread.sh'
[[ "$h" != ~(Eil)HTTP/.* ]] && { print -u2 -f $"%s: HTTP/ header missing\n" "$0" ; return 1 ; }
^
Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/scripts/simplefileattributetree1.sh
Line 75 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/simplefileattributetree1.sh'
[[ "${ typeset +p x.nodes ; }" == "" ]] && compound -A x.nodes
^
Unexpected token ' '
illumos-gate/usr/src/lib/libshell/common/scripts/multifollow.sh
Line 110 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/multifollow.sh'
mkfifo "${files[${numfiles}].pipename}"
^
Expected } after var sub, got '.'
illumos-gate/usr/src/lib/libshell/common/scripts/filetree1.sh
Line 62 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/filetree1.sh'
typeset -C -A tree.files
^~~~~~~~~~
Invalid variable name 'tree.files'
illumos-gate/usr/src/lib/libshell/common/scripts/shnote.sh
Line 55 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/scripts/shnote.sh'
integer numformelements=${#formdata.form[*]}
^
Expected } after length expression, got '.'
illumos-gate/usr/src/lib/libshell/common/tests/statics.sh
Line 59 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/statics.sh'
[[ "${
^
Unexpected token '\n'
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_vartree002.sh
Line 64 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_vartree002.sh'
typeset -A dest_tree.l1
^~~~~~~~~~~~
Invalid variable name 'dest_tree.l1'
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6763594_command_failure_execs_twice.sh
Line 90 of '_tmp/wild/src/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:\ .*\[.*\])'."
^
Expected ]]
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6835835_builtin_cat_n_broken.sh
Line 105 of '_tmp/wild/src/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' )
^
Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_compoundvario.sh
Line 40 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_compoundvario.sh'
compound bracketstat=(
^~~~~~~~~~~~
Commands can't contain array literals
illumos-gate/usr/src/lib/libshell/common/tests/io.sh
Line 72 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/io.sh'
( dir=/proc/self/fd semantics='open' )
^
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
Line 101 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6904575_cut_-d_with_multibyte_character_no_longer_works.sh'
(
^
Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/timetype.sh
Line 34 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/timetype.sh'
get()
^
Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/builtins.sh
Line 150 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/builtins.sh'
(continue bad 2>/dev/null && err_exit 'continue bad should return an error')
^~~~~~~~
Control flow shouldn't have redirects
illumos-gate/usr/src/lib/libshell/common/tests/substring.sh
Line 240 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/substring.sh'
if [[ ${@/*\/@(*)/${.sh.match[1]}} != 'bar yes done' ]]
^
Unexpected token '.'
illumos-gate/usr/src/lib/libshell/common/tests/variables.sh
Line 34 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/variables.sh'
[[ ${.sh.version} == "$KSH_VERSION" ]] || err_exit '.sh.version != KSH_VERSION'
^
Unexpected token '.'
illumos-gate/usr/src/lib/libshell/common/tests/select.sh
Line 43 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/select.sh'
do case $i in
^~
Unexpected word when parsing command
illumos-gate/usr/src/lib/libshell/common/tests/pointtype.sh
Line 34 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/pointtype.sh'
len()
^
Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_staticvariables.sh
Line 67 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_staticvariables.sh'
[[ "${
^
Unexpected token '\n'
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_array_default_datatype.sh
Line 46 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_array_default_datatype.sh'
compound bracketstat=(
^~~~~~~~~~~~
Commands can't contain array literals
illumos-gate/usr/src/lib/libshell/common/tests/quoting2.sh
Line 75 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/quoting2.sh'
x=$((echo foo)|(cat))
^
Expected second ) to end arith sub, got '|'
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_vartree001.sh
Line 79 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_vartree001.sh'
typeset -A dest_tree.l1
^~~~~~~~~~~~
Invalid variable name 'dest_tree.l1'
illumos-gate/usr/src/lib/libshell/common/tests/coprocess.sh
Line 139 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/coprocess.sh'
{ : |& } 2>/dev/null ||
^
Unexpected right brace
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_vartree003.sh
Line 165 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_vartree003.sh'
typeset -A xlfd_tree.l1
^~~~~~~~~~~~
Invalid variable name 'xlfd_tree.l1'
illumos-gate/usr/src/lib/libshell/common/tests/arrays2.sh
Line 37 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/arrays2.sh'
do [[ ${a[i][j]} == "$i$j" ]] || err_exit "\${a[$i][$j]} != $i$j"
^
Unexpected token '['
illumos-gate/usr/src/lib/libshell/common/tests/nameref.sh
Line 45 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/nameref.sh'
if [[ ${foo.child} != ${bar.child} ]]
^
Expected } after var sub, got '.'
illumos-gate/usr/src/lib/libshell/common/tests/quoting.sh
Line 74 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/quoting.sh'
x=$((echo foo)|(cat))
^
Expected second ) to end arith sub, got '|'
illumos-gate/usr/src/lib/libshell/common/tests/functions.sh
Line 98 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/functions.sh'
abc() print hi
^~~~~
Unexpected word while parsing compound command
illumos-gate/usr/src/lib/libshell/common/tests/cubetype.sh
Line 41 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/cubetype.sh'
len()
^
Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/attributes.sh
Line 37 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/attributes.sh'
do typeset -$option $option
^
Variable names must be unquoted constants
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_builtin_poll.sh
Line 49 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_builtin_poll.sh'
[y]=( fd=5 events="POLLIN" revents="" )
^
Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/treemove.sh
Line 56 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/treemove.sh'
typeset -A tr.subtree
^~~~~~~~~~
Invalid variable name 'tr.subtree'
illumos-gate/usr/src/lib/libshell/common/tests/vartree2.sh
Line 54 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/vartree2.sh'
typeset -A dest_tree.l1
^~~~~~~~~~~~
Invalid variable name 'dest_tree.l1'
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_builtin_tail.sh
Line 142 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_builtin_tail.sh'
(
^
Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/append.sh
Line 42 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/append.sh'
{ iarray+= (four five six) ;} 2> /dev/null
^
Expected ( after =, got ' '
illumos-gate/usr/src/lib/libshell/common/tests/path.sh
Line 60 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/path.sh'
[[ ${ foobar;} == foobar2 ]] || err_exit 'foobar should output foobar2 with ${}'
^
Unexpected token ' '
illumos-gate/usr/src/lib/libshell/common/tests/types.sh
Line 54 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/types.sh'
typeset -C s.y=z
^~~
Invalid variable name 's.y=z'
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_locale_misc.sh
Line 85 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_locale_misc.sh'
unset ${!LC_*} LANG
^
Expected } after var sub, got '*'
illumos-gate/usr/src/lib/libshell/common/tests/options.sh
Line 359 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/options.sh'
( nopipefail=0 pipefail=1 command='false|true|true' )
^
Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6722134_background_CHLD_trap.sh
Line 80 of '_tmp/wild/src/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}."
^
Expected ]]
illumos-gate/usr/src/lib/libshell/common/tests/vartree1.sh
Line 49 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/vartree1.sh'
typeset -A dest_tree.l1
^~~~~~~~~~~~
Invalid variable name 'dest_tree.l1'
illumos-gate/usr/src/lib/libshell/common/tests/recttype.sh
Line 34 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/recttype.sh'
len()
^
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
Line 97 of '_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'
(
^
Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/sigchld.sh
Line 67 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sigchld.sh'
if [[ ${.sh.version} == Version?*([[:upper:]])J* ]]
^
Unexpected token '.'
illumos-gate/usr/src/lib/libshell/common/tests/basic.sh
Line 368 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/basic.sh'
(( $($SHELL $tmp/scriptx) > 2.0 )) && err_exit 'command substitution causes pipefail option to hang'
^
Unexpected token in arithmetic context
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6805792_varmovetest1.sh
Line 104 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6805792_varmovetest1.sh'
typeset -A tr.subtree
^~~~~~~~~~
Invalid variable name 'tr.subtree'
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6904557_wc_no_longer_counts_number_of_bytes_correctly.sh
Line 103 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6904557_wc_no_longer_counts_number_of_bytes_correctly.sh'
(
^
Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_compound_misc.sh
Line 46 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_compound_misc.sh'
compound bracketstat=(
^~~~~~~~~~~~
Commands can't contain array literals
illumos-gate/usr/src/lib/libshell/common/tests/expand.sh
Line 111 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/expand.sh'
set -- ~(N)/dev/null
^
Unexpected word while parsing command line
illumos-gate/usr/src/lib/libshell/common/tests/arith.sh
Line 60 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/arith.sh'
if (( 2.5 != 2.5 ))
^
Unexpected token in arithmetic context
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_command_substitution.sh
Line 66 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_command_substitution.sh'
( name="test1a" cmd="builtin cat ; print -- \"\$(cat \"${tmpfile}\" | cat)\" ; true" )
^
Unexpected token in array literal: '('
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6855875_typeset_hexfloat_has_too_few_digits.sh
Line 109 of '_tmp/wild/src/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
^
Unexpected token in arithmetic context
illumos-gate/usr/src/lib/libshell/common/tests/comvar.sh
Line 35 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/comvar.sh'
if (( (p.x*p.x + p.y*p.y) > 1.01 ))
^
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
Line 123 of '_tmp/wild/src/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 \
^~~~~~~~~~~~~~~~~~
Invalid loop variable name
illumos-gate/usr/src/lib/libshell/common/tests/arrays.sh
Line 212 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/arrays.sh'
if [[ ${!foovar@} != +(foovar[[:alnum:]]?([ ])) ]]
^
Expected } after var sub, got '@'
illumos-gate/usr/src/lib/libshell/common/tests/enum.sh
Line 30 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/enum.sh'
enum Color_t=(red green blue orange yellow)
^~~~~~~~
Commands can't contain array literals
illumos-gate/usr/src/lib/libshell/common/tests/subshell.sh
Line 37 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/subshell.sh'
z.foo=( [one]=hello [two]=(x=3 y=4) [three]=hi)
^
Expected word type <Id_t Right_FuncDef 93>, got <Id_t Word_Compound 199>
illumos-gate/usr/src/lib/libshell/common/tests/signal.sh
Line 1 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/signal.sh'
########################################################################
^
Unexpected end of input
illumos-gate/usr/src/lib/libshell/common/tests/heredoc.sh
Line 143 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/heredoc.sh'
if [[ $(cat << EOF #testing
^~
Couldn't find terminator for here doc that starts here
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_compound_nameref.sh
Line 107 of '_tmp/wild/src/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}"
^
Unexpected token ' '
illumos-gate/usr/src/lib/libshell/common/tests/bracket.sh
Line 212 of '_tmp/wild/src/illumos-gate/usr/src/lib/libshell/common/tests/bracket.sh'
[[ aaaa == {4}(a) ]] || err_exit 'aaaa != {4}(a)'
^
Expected ]]
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6881017_background_process_in_subshell_hangs_caller.sh
Line 78 of '_tmp/wild/src/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.)"
^
Unexpected token in arithmetic context
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6789247_printf_hexfloat_rounding.sh
Line 107 of '_tmp/wild/src/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}"
^
Unexpected token in arithmetic context
illumos-gate/usr/src/lib/libshell/common/tests/sun_solaris_cr_6800929_large_command_substitution_hang.sh
Line 110 of '_tmp/wild/src/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" )
^
Unexpected token in array literal: '('
illumos-gate/usr/src/test/os-tests/tests/pf_key/acquire-spray.sh
Line 1 of "Backticks at line -1 of 'TODO'"
grep ACQUIRE $MONITOR_LOG | wc -l | awk '{print $1}
^
Unexpected EOF in single-quoted string that began here
illumos-gate/usr/src/tools/scripts/nightly.sh
Line 801 of '_tmp/wild/src/illumos-gate/usr/src/tools/scripts/nightly.sh'
if [[ "${NIGHTLY_OPTIONS}" == ~(F)n ]] ; then
^
Expected ]]
illumos-gate/usr/src/tools/scripts/bldenv.sh
Line 253 of '_tmp/wild/src/illumos-gate/usr/src/tools/scripts/bldenv.sh'
if ${flags.d} ; then
^
Expected } after var sub, got '.'
illumos-gate/usr/src/tools/gk/cshrc.sh
Line 53 of '_tmp/wild/src/illumos-gate/usr/src/tools/gk/cshrc.sh'
set prompt="{${USER}:${HOSTNAME}:\!} "
^
Expected word type <Id_t KW_Fi 211>, got <Id_t Eof_Real 4>
illumos-gate/usr/src/tools/gk/login.sh
Line 53 of '_tmp/wild/src/illumos-gate/usr/src/tools/gk/login.sh'
set path=( \
^~~~~
Commands can't contain array literals
illumos-gate/usr/src/tools/env/illumos.sh
Line 70 of '_tmp/wild/src/illumos-gate/usr/src/tools/env/illumos.sh'
if [[ $(/usr/sbin/prtconf 2>'/dev/null') == ~(E)Memory\ size:\ ([[:digit:]]+)\ Megabytes ]] ; then
^
Expected ]]
illumos-gate/usr/src/cmd/krb5/kadmin/kdcmgr/kdcmgr.sh
Line 717 of '_tmp/wild/src/illumos-gate/usr/src/cmd/krb5/kadmin/kdcmgr/kdcmgr.sh'
fi;&
^
Invalid word while parsing command
illumos-gate/usr/src/cmd/ldap/ns_ldap/idsconfig.sh
Line 3320 of '_tmp/wild/src/illumos-gate/usr/src/cmd/ldap/ns_ldap/idsconfig.sh'
_LDBM_DBS=`${EVAL} "${LDAPSEARCH} ${LDAP_ARGS} \
^~~~~~~~~~
Global assignment shouldn't have redirects
illumos-gate/usr/src/cmd/nsadmin/bashrc.sh
Line 5 of '_tmp/wild/src/illumos-gate/usr/src/cmd/nsadmin/bashrc.sh'
typeset +x PS1="\u@\h:\w\\$ "
^
Invalid variable name '+x'
illumos-gate/usr/src/cmd/tail/tests/sun_solaris_tail.sh
Line 158 of '_tmp/wild/src/illumos-gate/usr/src/cmd/tail/tests/sun_solaris_tail.sh'
(
^
Unexpected token in array literal: '('
illumos-gate/usr/src/cmd/tsol/misc/txzonemgr.sh
Line 746 of '_tmp/wild/src/illumos-gate/usr/src/cmd/tsol/misc/txzonemgr.sh'
if [[ $flags == ~(E).UP, ]] ; then
^
Expected ]]
illumos-gate/usr/src/cmd/ipf/examples/mkfilters.sh
Line 6 of '_tmp/wild/src/illumos-gate/usr/src/cmd/ipf/examples/mkfilters.sh'
&irix_mkfilters || regular_mkfilters || die $!;
^
Invalid word while parsing command
illumos-gate/usr/src/cmd/ypcmd/multi.awk.sh
Line 46 of '_tmp/wild/src/illumos-gate/usr/src/cmd/ypcmd/multi.awk.sh'
for (i = 2; i <= NF; i++) {
^
Loop variable name should be a constant
distro/woof-CE/woof-code/rootfs-packages/sandbox/usr/bin/rw-sandbox.sh
Line 188 of '_tmp/wild/src/distro/woof-CE/woof-code/rootfs-packages/sandbox/usr/bin/rw-sandbox.sh'
;&
^
Invalid word while parsing command
distro/woof-CE/woof-code/rootfs-skeleton/usr/share/doc/langpack-template/pinstall.sh
Line 1 of "Backticks at line -1 of 'TODO'"
grep "\<Summary\ xml\:lang\="$LANG1" $XMLFILE
^
Unexpected EOF reading double-quoted string that began here
distro/portage/bin/ebuild.sh
Line 755 of '_tmp/wild/src/distro/portage/bin/ebuild.sh'
declare -r $PORTAGE_READONLY_METADATA $PORTAGE_READONLY_VARS
^~~~~~~~~~~~~~~~~~~~~~~~~~
Variable names must be unquoted constants
distro/portage/bin/save-ebuild-env.sh
Line 38 of '_tmp/wild/src/distro/portage/bin/save-ebuild-env.sh'
unset ${!CCACHE_*} ${!DISTCC_*}
^
Expected } after var sub, got '*'
distro/portage/bin/helper-functions.sh
Line 100 of '_tmp/wild/src/distro/portage/bin/helper-functions.sh'
: $(( ${var} = fd ))
^
Can't assign to None
distro/crankshaft/rpi_buildsystem/2_build_aasdk.sh
Line 4 of '_tmp/wild/src/distro/crankshaft/rpi_buildsystem/2_build_aasdk.sh'
HOME="`cd $0 >/dev/null 2>&1; pwd`" >/dev/null 2>&1
^~~~~
Global assignment shouldn't have redirects
distro/crankshaft/rpi_buildsystem/3_build_ilclient.sh
Line 4 of '_tmp/wild/src/distro/crankshaft/rpi_buildsystem/3_build_ilclient.sh'
HOME="`cd $0 >/dev/null 2>&1; pwd`" >/dev/null 2>&1
^~~~~
Global assignment shouldn't have redirects
distro/crankshaft/rpi_buildsystem/4_build_qt5.sh
Line 4 of '_tmp/wild/src/distro/crankshaft/rpi_buildsystem/4_build_qt5.sh'
HOME="`cd $0 >/dev/null 2>&1; pwd`" >/dev/null 2>&1
^~~~~
Global assignment shouldn't have redirects
distro/crankshaft/rpi_buildsystem/8_copy_files.sh
Line 4 of '_tmp/wild/src/distro/crankshaft/rpi_buildsystem/8_copy_files.sh'
HOME="`cd $0 >/dev/null 2>&1; pwd`" >/dev/null 2>&1
^~~~~
Global assignment shouldn't have redirects
distro/crankshaft/rpi_buildsystem/6_build_dumb_suid.sh
Line 4 of '_tmp/wild/src/distro/crankshaft/rpi_buildsystem/6_build_dumb_suid.sh'
HOME="`cd $0 >/dev/null 2>&1; pwd`" >/dev/null 2>&1
^~~~~
Global assignment shouldn't have redirects
distro/crankshaft/rpi_buildsystem/5_build_openauto.sh
Line 4 of '_tmp/wild/src/distro/crankshaft/rpi_buildsystem/5_build_openauto.sh'
HOME="`cd $0 >/dev/null 2>&1; pwd`" >/dev/null 2>&1
^~~~~
Global assignment shouldn't have redirects
esoteric/make-a-lisp-bash/reader.sh
Line 121 of '_tmp/wild/src/esoteric/make-a-lisp-bash/reader.sh'
[[ "${str}" =~ ^^([][{}\(\)^@])|^(~@)|(\"(\\.|[^\\\"])*\")|^(;[^$'\n']*)|^([~\'\`])|^([^][ ~\`\'\";{}\(\)^@\,]+)|^[,]|^[[:space:]]+ ]]
^
Expected ]]
esoteric/make-a-lisp-bash/types.sh
Line 219 of '_tmp/wild/src/esoteric/make-a-lisp-bash/types.sh'
declare -A -g ${obj}; eval "${obj}=()"
^~
Variable names must be unquoted constants
esoteric/make-a-lisp-bash/core.sh
Line 145 of '_tmp/wild/src/esoteric/make-a-lisp-bash/core.sh'
declare -A -g ${obj}
^~
Variable names must be unquoted constants
esoteric/CmdlineGL/share/lib-bash/Geom.lib
Line 35 of '_tmp/wild/src/esoteric/CmdlineGL/share/lib-bash/Geom.lib'
((${1}_x=${2}_x, ${1}_y=${2}_y, ${1}_z=${2}_z))
^
Can't assign to None
esoteric/CmdlineGL/share/lib-bash/Timing.lib
Line 70 of '_tmp/wild/src/esoteric/CmdlineGL/share/lib-bash/Timing.lib'
Timing_dT<1? Timing_dT=1 : 1,
^
Parser expected <Id_t Arith_Colon 153>, got (word.TokenWord token:(token id:Arith_Equal val:'=' span_id:348))
esoteric/CmdlineGL/share/lib-bash/CmdlineGL.lib
Line 162 of '_tmp/wild/src/esoteric/CmdlineGL/share/lib-bash/CmdlineGL.lib'
&& (( $dest_var=fd )) \
^
Can't assign to None
esoteric/CmdlineGL/share/lib-bash/LinInterpolate.lib
Line 23 of '_tmp/wild/src/esoteric/CmdlineGL/share/lib-bash/LinInterpolate.lib'
(( FromVal=$Table[Idx], ToVal=$Table[Idx+1], Result= FromVal + (ToVal - FromVal)*Pct/Max ));
^
(arith_expr.ArithWord
w:
(word.CompoundWord
parts: [(word_part.SimpleVarSub token:(token id:VSub_DollarName val:'$Table' span_id:161))]
)
) can't be indexed
esoteric/CmdlineGL/share/examples/FlightSim.sh
Line 118 of '_tmp/wild/src/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))
^
Can't assign to None
esoteric/CmdlineGL/share/examples/Robot.sh
Line 377 of '_tmp/wild/src/esoteric/CmdlineGL/share/examples/Robot.sh'
(( Robot_Joints[i]=$FromAng[i]+($ToAng[i]-$FromAng[i])*Progress/100 ));
^
(arith_expr.ArithWord
w:
(word.CompoundWord
parts: [(word_part.SimpleVarSub token:(token id:VSub_DollarName val:'$FromAng' span_id:2292))]
)
) can't be indexed
esoteric/setup.shl/lib/setup.d/Pkg.shl
Line 12 of '_tmp/wild/src/esoteric/setup.shl/lib/setup.d/Pkg.shl'
local val="$(< "$1")" 2>/dev/null
^~~~~
Assignments shouldn't have redirects
esoteric/setup.shl/lib/setup.shl
Line 163 of '_tmp/wild/src/esoteric/setup.shl/lib/setup.shl'
declare -g "$1"="$sem $stream $mutex"
^
Variable names must be unquoted constants
esoteric/balls/lib/model.sh
Line 30 of '_tmp/wild/src/esoteric/balls/lib/model.sh'
local "$__field"="$(balls::model.field "$__field" <<<"$__data\n")"
^
Variable names must be unquoted constants
esoteric/gherkin/gherkin
Line 205 of '_tmp/wild/src/esoteric/gherkin/gherkin'
declare -a $r
^~
Variable names must be unquoted constants
freebsd-11.1/release/release.sh
Line 44 of '_tmp/wild/src/freebsd-11.1/release/release.sh'
load_chroot_env() { }
^
Unexpected right brace
freebsd-11.1/usr.bin/stat/tests/readlink_test.sh
Line 59 of '_tmp/wild/src/freebsd-11.1/usr.bin/stat/tests/readlink_test.sh'
}
^
Unexpected right brace
freebsd-11.1/usr.bin/ncal/tests/regress.sh
Line 11 of '_tmp/wild/src/freebsd-11.1/usr.bin/ncal/tests/regress.sh'
REGRESSION_START($1)
^~
Expected word type <Id_t Right_FuncDef 93>, got <Id_t Word_Compound 199>
freebsd-11.1/usr.bin/m4/tests/regress.sh
Line 9 of '_tmp/wild/src/freebsd-11.1/usr.bin/m4/tests/regress.sh'
REGRESSION_START($1)
^~
Expected word type <Id_t Right_FuncDef 93>, got <Id_t Word_Compound 199>
freebsd-11.1/usr.bin/uudecode/tests/regress.sh
Line 5 of '_tmp/wild/src/freebsd-11.1/usr.bin/uudecode/tests/regress.sh'
REGRESSION_START($1)
^~
Expected word type <Id_t Right_FuncDef 93>, got <Id_t Word_Compound 199>
freebsd-11.1/usr.bin/file2c/tests/regress.sh
Line 5 of '_tmp/wild/src/freebsd-11.1/usr.bin/file2c/tests/regress.sh'
REGRESSION_START($1)
^~
Expected word type <Id_t Right_FuncDef 93>, got <Id_t Word_Compound 199>
freebsd-11.1/usr.bin/comm/tests/regress.sh
Line 5 of '_tmp/wild/src/freebsd-11.1/usr.bin/comm/tests/regress.sh'
REGRESSION_START($1)
^~
Expected word type <Id_t Right_FuncDef 93>, got <Id_t Word_Compound 199>
freebsd-11.1/usr.bin/jot/tests/regress.sh
Line 5 of '_tmp/wild/src/freebsd-11.1/usr.bin/jot/tests/regress.sh'
REGRESSION_START($1)
^~
Expected word type <Id_t Right_FuncDef 93>, got <Id_t Word_Compound 199>
freebsd-11.1/usr.bin/bmake/tests/common.sh
Line 192 of '_tmp/wild/src/freebsd-11.1/usr.bin/bmake/tests/common.sh'
}
^
Unexpected right brace
freebsd-11.1/usr.bin/apply/tests/regress.sh
Line 5 of '_tmp/wild/src/freebsd-11.1/usr.bin/apply/tests/regress.sh'
REGRESSION_START($1)
^~
Expected word type <Id_t Right_FuncDef 93>, got <Id_t Word_Compound 199>
freebsd-11.1/usr.bin/xargs/tests/regress.sh
Line 5 of '_tmp/wild/src/freebsd-11.1/usr.bin/xargs/tests/regress.sh'
REGRESSION_START($1)
^~
Expected word type <Id_t Right_FuncDef 93>, got <Id_t Word_Compound 199>
freebsd-11.1/usr.bin/calendar/tests/regress.sh
Line 8 of '_tmp/wild/src/freebsd-11.1/usr.bin/calendar/tests/regress.sh'
REGRESSION_START($1)
^~
Expected word type <Id_t Right_FuncDef 93>, got <Id_t Word_Compound 199>
freebsd-11.1/usr.bin/printf/tests/regress.sh
Line 3 of '_tmp/wild/src/freebsd-11.1/usr.bin/printf/tests/regress.sh'
REGRESSION_START($1)
^~
Expected word type <Id_t Right_FuncDef 93>, got <Id_t Word_Compound 199>
freebsd-11.1/gnu/usr.bin/binutils/ld/genscripts.sh
Line 45 of '_tmp/wild/src/freebsd-11.1/gnu/usr.bin/binutils/ld/genscripts.sh'
fi
^~
Expected word type <Id_t KW_Then 212>, got <Id_t KW_Fi 211>
freebsd-11.1/usr.sbin/etcupdate/etcupdate.sh
Line 129 of '_tmp/wild/src/freebsd-11.1/usr.sbin/etcupdate/etcupdate.sh'
local pattern -
^
Invalid variable name '-'
freebsd-11.1/usr.sbin/portsnap/portsnap/portsnap.sh
Line 956 of '_tmp/wild/src/freebsd-11.1/usr.sbin/portsnap/portsnap/portsnap.sh'
if !
^
Invalid word while parsing command
freebsd-11.1/contrib/netbsd-tests/bin/sh/t_arith.sh
Line 990 of '_tmp/wild/src/freebsd-11.1/contrib/netbsd-tests/bin/sh/t_arith.sh'
atf_fail "Cannot estimate number of bits supported by $(( ))"
^
Token can't be used in prefix position
freebsd-11.1/contrib/netbsd-tests/crypto/opencrypto/t_opencrypto.sh
Line 88 of '_tmp/wild/src/freebsd-11.1/contrib/netbsd-tests/crypto/opencrypto/t_opencrypto.sh'
}
^
Unexpected right brace
freebsd-11.1/contrib/netbsd-tests/rump/rumpnet/t_shmif.sh
Line 51 of '_tmp/wild/src/freebsd-11.1/contrib/netbsd-tests/rump/rumpnet/t_shmif.sh'
}
^
Unexpected right brace
freebsd-11.1/tests/sys/acl/aclfuzzer.sh
Line 185 of '_tmp/wild/src/freebsd-11.1/tests/sys/acl/aclfuzzer.sh'
}
^
Unexpected right brace
freebsd-11.1/crypto/openssl/util/bat.sh
Line 5 of '_tmp/wild/src/freebsd-11.1/crypto/openssl/util/bat.sh'
open(IN,"<$infile") || die "unable to open $infile:$!\n";
^~
Expected word type <Id_t Right_FuncDef 93>, got <Id_t Word_Compound 199>
freebsd-11.1/tools/tools/sysbuild/sysbuild.sh
Line 104 of '_tmp/wild/src/freebsd-11.1/tools/tools/sysbuild/sysbuild.sh'
)
^
Invalid word while parsing command
freebsd-11.1/tools/tools/shlib-compat/test/regress.sh
Line 6 of '_tmp/wild/src/freebsd-11.1/tools/tools/shlib-compat/test/regress.sh'
REGRESSION_START($1)
^~
Expected word type <Id_t Right_FuncDef 93>, got <Id_t Word_Compound 199>
shell/ast/src/cmd/3d/features/syscall.sh
Line 1 of "Backticks at line -1 of 'TODO'"
echo $lib | sed 's,\([^0-9]*[0-9]*\).*,\1,
^
Unexpected EOF in single-quoted string that began here
shell/ast/src/cmd/INIT/ditto.sh
Line 183 of '_tmp/wild/src/shell/ast/src/cmd/INIT/ditto.sh'
else (cd $src_dir && read && eval "${tw[@]}") 2>&1 |&
^~~~
Unexpected word when parsing command
shell/ast/src/cmd/INIT/regress.sh
Line 1429 of '_tmp/wild/src/shell/ast/src/cmd/INIT/regress.sh'
typeset -ft $(typeset +f)
^
Invalid variable name '+f'
shell/ast/src/cmd/INIT/mktest.sh
Line 114 of '_tmp/wild/src/shell/ast/src/cmd/INIT/mktest.sh'
typeset -A DATA STATE.RESET REMOVE FORMAT
^~~~~~~~~~~
Invalid variable name 'STATE.RESET'
shell/ast/src/cmd/ksh93/data/bash_pre_rc.sh
Line 62 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/data/bash_pre_rc.sh'
.sh.value=${.sh.value//+([[:space:]])on*([[:space:]])/:}
^
Unexpected token '.'
shell/ast/src/cmd/ksh93/tests/statics.sh
Line 87 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/statics.sh'
compound out=( typeset stdout stderr ; integer res )
^
Unexpected token in array literal: ';'
shell/ast/src/cmd/ksh93/tests/math.sh
Line 43 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/math.sh'
compound out=( typeset stdout stderr ; integer res )
^
Unexpected token in array literal: ';'
shell/ast/src/cmd/ksh93/tests/namespace.sh
Line 81 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/namespace.sh'
[[ ${bar.y} == 2 ]] || err_exit 'local variable bar.y not found'
^
Expected } after var sub, got '.'
shell/ast/src/cmd/ksh93/tests/io.sh
Line 72 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/io.sh'
( dir=/proc/self/fd semantics='open' )
^
Unexpected token in array literal: '('
shell/ast/src/cmd/ksh93/tests/timetype.sh
Line 34 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/timetype.sh'
get()
^
Unexpected token in array literal: '('
shell/ast/src/cmd/ksh93/tests/builtins.sh
Line 150 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/builtins.sh'
(continue bad 2>/dev/null && err_exit 'continue bad should return an error')
^~~~~~~~
Control flow shouldn't have redirects
shell/ast/src/cmd/ksh93/tests/substring.sh
Line 257 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/substring.sh'
var=$($SHELL -c 'v=/vin:/usr/vin r=vin; : ${v//vin/${r//v/b}};typeset -p .sh.match') 2> /dev/null
^~~~
Global assignment shouldn't have redirects
shell/ast/src/cmd/ksh93/tests/variables.sh
Line 34 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/variables.sh'
[[ ${.sh.version} == "$KSH_VERSION" ]] || err_exit '.sh.version != KSH_VERSION'
^
Unexpected token '.'
shell/ast/src/cmd/ksh93/tests/select.sh
Line 43 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/select.sh'
do case $i in
^~
Unexpected word when parsing command
shell/ast/src/cmd/ksh93/tests/pointtype.sh
Line 34 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/pointtype.sh'
len()
^
Unexpected token in array literal: '('
shell/ast/src/cmd/ksh93/tests/quoting2.sh
Line 75 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/quoting2.sh'
x=$((echo foo)|(cat))
^
Expected second ) to end arith sub, got '|'
shell/ast/src/cmd/ksh93/tests/coprocess.sh
Line 147 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/coprocess.sh'
{ : |& } 2>/dev/null ||
^
Unexpected right brace
shell/ast/src/cmd/ksh93/tests/arrays2.sh
Line 37 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/arrays2.sh'
do [[ ${a[i][j]} == "$i$j" ]] || err_exit "\${a[$i][$j]} != $i$j"
^
Unexpected token '['
shell/ast/src/cmd/ksh93/tests/nameref.sh
Line 45 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/nameref.sh'
if [[ ${foo.child} != ${bar.child} ]]
^
Expected } after var sub, got '.'
shell/ast/src/cmd/ksh93/tests/leaks.sh
Line 75 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/leaks.sh'
done {n}<&0-
^
Unexpected word while parsing command line
shell/ast/src/cmd/ksh93/tests/quoting.sh
Line 74 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/quoting.sh'
x=$((echo foo)|(cat))
^
Expected second ) to end arith sub, got '|'
shell/ast/src/cmd/ksh93/tests/functions.sh
Line 101 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/functions.sh'
abc() print hi
^~~~~
Unexpected word while parsing compound command
shell/ast/src/cmd/ksh93/tests/cubetype.sh
Line 41 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/cubetype.sh'
len()
^
Unexpected token in array literal: '('
shell/ast/src/cmd/ksh93/tests/attributes.sh
Line 37 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/attributes.sh'
do typeset -$option $option
^
Variable names must be unquoted constants
shell/ast/src/cmd/ksh93/tests/treemove.sh
Line 75 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/treemove.sh'
typeset -A tr.subtree
^~~~~~~~~~
Invalid variable name 'tr.subtree'
shell/ast/src/cmd/ksh93/tests/vartree2.sh
Line 54 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/vartree2.sh'
typeset -A dest_tree.l1
^~~~~~~~~~~~
Invalid variable name 'dest_tree.l1'
shell/ast/src/cmd/ksh93/tests/comvario.sh
Line 59 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/comvario.sh'
compound bracketstat=(
^~~~~~~~~~~~
Commands can't contain array literals
shell/ast/src/cmd/ksh93/tests/append.sh
Line 42 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/append.sh'
{ iarray+= (four five six) ;} 2> /dev/null
^
Expected ( after =, got ' '
shell/ast/src/cmd/ksh93/tests/path.sh
Line 60 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/path.sh'
[[ ${ foobar;} == foobar2 ]] || err_exit 'foobar should output foobar2 with ${}'
^
Unexpected token ' '
shell/ast/src/cmd/ksh93/tests/types.sh
Line 54 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/types.sh'
typeset -C s.y=z
^~~
Invalid variable name 's.y=z'
shell/ast/src/cmd/ksh93/tests/locale.sh
Line 31 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/locale.sh'
unset LANG ${!LC_*}
^
Expected } after var sub, got '*'
shell/ast/src/cmd/ksh93/tests/options.sh
Line 359 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/options.sh'
( nopipefail=0 pipefail=1 command='false|true|true' )
^
Unexpected token in array literal: '('
shell/ast/src/cmd/ksh93/tests/vartree1.sh
Line 49 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/vartree1.sh'
typeset -A dest_tree.l1
^~~~~~~~~~~~
Invalid variable name 'dest_tree.l1'
shell/ast/src/cmd/ksh93/tests/recttype.sh
Line 34 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/recttype.sh'
len()
^
Unexpected token in array literal: '('
shell/ast/src/cmd/ksh93/tests/sigchld.sh
Line 67 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/sigchld.sh'
if [[ ${.sh.version} == Version?*([[:upper:]])J* ]]
^
Unexpected token '.'
shell/ast/src/cmd/ksh93/tests/basic.sh
Line 369 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/basic.sh'
(( $($SHELL $tmp/scriptx) > 2.0 )) && err_exit 'command substitution causes pipefail option to hang'
^
Unexpected token in arithmetic context
shell/ast/src/cmd/ksh93/tests/expand.sh
Line 111 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/expand.sh'
set -- ~(N)/dev/null
^
Unexpected word while parsing command line
shell/ast/src/cmd/ksh93/tests/arith.sh
Line 60 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/arith.sh'
if (( 2.5 != 2.5 ))
^
Unexpected token in arithmetic context
shell/ast/src/cmd/ksh93/tests/comvar.sh
Line 35 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/comvar.sh'
if (( (p.x*p.x + p.y*p.y) > 1.01 ))
^
Unexpected token in arithmetic context
shell/ast/src/cmd/ksh93/tests/arrays.sh
Line 212 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/arrays.sh'
if [[ ${!foovar@} != +(foovar[[:alnum:]]?([ ])) ]]
^
Expected } after var sub, got '@'
shell/ast/src/cmd/ksh93/tests/enum.sh
Line 30 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/enum.sh'
enum Color_t=(red green blue orange yellow)
^~~~~~~~
Commands can't contain array literals
shell/ast/src/cmd/ksh93/tests/subshell.sh
Line 38 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/subshell.sh'
z.foo=( [one]=hello [two]=(x=3 y=4) [three]=hi)
^
Expected word type <Id_t Right_FuncDef 93>, got <Id_t Word_Compound 199>
shell/ast/src/cmd/ksh93/tests/signal.sh
Line 1 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/signal.sh'
########################################################################
^
Unexpected end of input
shell/ast/src/cmd/ksh93/tests/heredoc.sh
Line 143 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/heredoc.sh'
if [[ $(cat << EOF #testing
^~
Couldn't find terminator for here doc that starts here
shell/ast/src/cmd/ksh93/tests/bracket.sh
Line 218 of '_tmp/wild/src/shell/ast/src/cmd/ksh93/tests/bracket.sh'
[[ aaaa == {4}(a) ]] || err_exit 'aaaa != {4}(a)'
^
Expected ]]
shell/ast/src/cmd/pax/tar.sh
Line 325 of '_tmp/wild/src/shell/ast/src/cmd/pax/tar.sh'
; pax $mode "${options[@]}" "$@"
^
Invalid word while parsing command
shell/ast/src/cmd/html/mm2bb.sh
Line 1 of '_tmp/wild/src/shell/ast/src/cmd/html/mm2bb.sh'
########################################################################
^
Unexpected token in arithmetic context
shell/ast/src/cmd/html/mm2html.sh
Line 221 of '_tmp/wild/src/shell/ast/src/cmd/html/mm2html.sh'
[[ ${set[html.labels]} ]] || html.labels=0
^
Unexpected token in arithmetic context
shell/ast/src/cmd/html/mm2twiki.sh
Line 1 of '_tmp/wild/src/shell/ast/src/cmd/html/mm2twiki.sh'
########################################################################
^
Unexpected token in arithmetic context
shell/mwc-sh/shql.sh
Line 9 of "Backticks at line -1 of 'TODO'"
-e 's/)/ \\) /g'
^
Unexpected EOF in single-quoted string that began here
shell/Bash-Snippets/movies/movies
Line 74 of '_tmp/wild/src/shell/Bash-Snippets/movies/movies'
movieInfo=$(httpGet "http://www.omdbapi.com/?t=$movie&apikey=$apiKey") > /dev/null # query the server and get the JSON response
^~~~~~~~~~
Global assignment shouldn't have redirects
shell/Bash-Snippets/stocks/stocks
Line 70 of '_tmp/wild/src/shell/Bash-Snippets/stocks/stocks'
stockInfo=$(httpGet "https://www.alphavantage.co/query?function=GLOBAL_QUOTE&symbol=$1&apikey=KPCCCRJVMOGN9L6T") > /dev/null #grab the JSON response
^~~~~~~~~~
Global assignment shouldn't have redirects
shell/Bash-Snippets/tests/cheat.bats
Line 5 of '_tmp/wild/src/shell/Bash-Snippets/tests/cheat.bats'
}
^
Unexpected right brace
shell/Bash-Snippets/tests/taste.bats
Line 7 of '_tmp/wild/src/shell/Bash-Snippets/tests/taste.bats'
}
^
Unexpected right brace
shell/Bash-Snippets/tests/geo.bats
Line 5 of '_tmp/wild/src/shell/Bash-Snippets/tests/geo.bats'
}
^
Unexpected right brace
shell/Bash-Snippets/tests/cloudup.bats
Line 5 of '_tmp/wild/src/shell/Bash-Snippets/tests/cloudup.bats'
}
^
Unexpected right brace
shell/Bash-Snippets/tests/ytview.bats
Line 5 of '_tmp/wild/src/shell/Bash-Snippets/tests/ytview.bats'
}
^
Unexpected right brace
shell/Bash-Snippets/tests/stocks.bats
Line 5 of '_tmp/wild/src/shell/Bash-Snippets/tests/stocks.bats'
}
^
Unexpected right brace
shell/Bash-Snippets/tests/qrify.bats
Line 5 of '_tmp/wild/src/shell/Bash-Snippets/tests/qrify.bats'
}
^
Unexpected right brace
shell/Bash-Snippets/tests/weather.bats
Line 5 of '_tmp/wild/src/shell/Bash-Snippets/tests/weather.bats'
}
^
Unexpected right brace
shell/Bash-Snippets/tests/short.bats
Line 5 of '_tmp/wild/src/shell/Bash-Snippets/tests/short.bats'
}
^
Unexpected right brace
shell/Bash-Snippets/tests/movies.bats
Line 5 of '_tmp/wild/src/shell/Bash-Snippets/tests/movies.bats'
}
^
Unexpected right brace
shell/Bash-Snippets/tests/currency.bats
Line 5 of '_tmp/wild/src/shell/Bash-Snippets/tests/currency.bats'
}
^
Unexpected right brace
shell/Bash-Snippets/tests/crypt.bats
Line 5 of '_tmp/wild/src/shell/Bash-Snippets/tests/crypt.bats'
}
^
Unexpected right brace
shell/Bash-Snippets/currency/currency
Line 144 of '_tmp/wild/src/shell/Bash-Snippets/currency/currency'
exchangeRate=$(httpGet "http://api.fixer.io/latest?base=$base&symbols=$exchangeTo" | grep -Eo "[0-9]*[.][0-9]*") > /dev/null
^~~~~~~~~~~~~
Global assignment shouldn't have redirects
shell/Bash-Snippets/weather/weather
Line 38 of '_tmp/wild/src/shell/Bash-Snippets/weather/weather'
country=$(httpGet ipinfo.io/country) > /dev/null ## grab the country
^~~~~~~~
Global assignment shouldn't have redirects
shell/bashdb/lib/subcmd.sh
Line 37 of '_tmp/wild/src/shell/bashdb/lib/subcmd.sh'
IFS=' ' typeset canon_line; canon_line="${words[@]}"
^~~~
Assignments shouldn't have environment bindings
shell/bashdb/lib/shell.sh
Line 49 of '_tmp/wild/src/shell/bashdb/lib/shell.sh'
echo $(typeset -pf ${fn_name} 2>/dev/null)
^~~~~~~
Assignments shouldn't have redirects
shell/asdf/test/plugin_list_all_command.sh
Line 22 of '_tmp/wild/src/shell/asdf/test/plugin_list_all_command.sh'
}
^
Unexpected right brace
shell/modernish/install.sh
Line 179 of '_tmp/wild/src/shell/modernish/install.sh'
select msh_shell in $valid_shells; do
^~
Expected word type <Id_t Lit_RBrace 19>, got <Id_t KW_Do 205>
shell/mksh/test.sh
Line 8 of '_tmp/wild/src/shell/mksh/test.sh'
while getopts "C:e:fPp:QSs:t:v" ch; do case $ch {
^
Expected word type <Id_t KW_In 207>, got <Id_t Lit_LBrace 18>
shell/bash-completion/completions/export
Line 16 of '_tmp/wild/src/shell/bash-completion/completions/export'
;;&
^
Expected word type <Id_t KW_Esac 209>, got <Id_t Op_Amp 38>
shell/bash-completion/completions/wget
Line 29 of '_tmp/wild/src/shell/bash-completion/completions/wget'
;;&
^
Expected word type <Id_t KW_Esac 209>, got <Id_t Op_Amp 38>
shell/bash-completion/completions/slackpkg
Line 93 of '_tmp/wild/src/shell/bash-completion/completions/slackpkg'
;&
^
Invalid word while parsing command
shell/bash-completion/completions/mount.linux
Line 83 of '_tmp/wild/src/shell/bash-completion/completions/mount.linux'
;;&
^
Expected word type <Id_t KW_Esac 209>, got <Id_t Op_Amp 38>
shell/bash-completion/completions/make
Line 134 of '_tmp/wild/src/shell/bash-completion/completions/make'
eval makef_dir=( -C "${words[i+1]}" )
^~~~~~~~~~
Commands can't contain array literals
shell/shflags/lib/shunit2
Line 89 of '_tmp/wild/src/shell/shflags/lib/shunit2'
readonly "${__shunit_const}"
^
Variable names must be unquoted constants
shell/shflags/lib/shflags
Line 202 of '_tmp/wild/src/shell/shflags/lib/shflags'
readonly ${__flags_const}
^~
Variable names must be unquoted constants
shell/shflags/shflags
Line 206 of '_tmp/wild/src/shell/shflags/shflags'
readonly "${__flags_const}"
^
Variable names must be unquoted constants
git/t/t0200/test.sh
Line 14 of '_tmp/wild/src/git/t/t0200/test.sh'
_("TEST: A Shell string xgettext won't get")
^
Expected word type <Id_t Right_FuncDef 93>, got <Id_t Word_Compound 199>
git/git-submodule.sh
Line 84 of '_tmp/wild/src/git/git-submodule.sh'
n=$(($1 + 0)) 2>/dev/null && test "$n" = "$1"
^~
Global assignment shouldn't have redirects
cloud/manta-marlin/dev/tools/endtoend.sh
Line 31 of '_tmp/wild/src/cloud/manta-marlin/dev/tools/endtoend.sh'
for (( i = 0; i < ee_count; i++ )) {
^
Invalid word after for expression
cloud/chef-bcpc/legacy_scripts/cluster-vip.sh
Line 1 of "Backticks at line -1 of 'TODO'"
echo $IPADDRESS | tr -d " | tr -d ,
^
Unexpected EOF reading double-quoted string that began here
cloud/chef-bcpc/legacy_scripts/vm-to-cluster.sh
Line 1 of "Backticks at line -1 of 'TODO'"
$VBM showvminfo $HOSTNAME --machinereadable | grep macaddress1 | tr -d " | tr = " " | awk '{print $2}'
^
Unexpected EOF reading double-quoted string that began here
cloud/chef-bcpc/legacy_scripts/enroll_cobbler.sh
Line 1 of "Backticks at line -1 of 'TODO'"
$VBM showvminfo --machinereadable $i | grep macaddress1 | cut -d " -f 2 | sed 's/.\{2\}/&:/g;s/:$//'
^
Unexpected EOF reading double-quoted string that began here
cloud/sandstorm/shell/run-dev.sh
Line 37 of '_tmp/wild/src/cloud/sandstorm/shell/run-dev.sh'
PORT=${BASH_REMATCH[1]} >&2
^~~~~
Global assignment shouldn't have redirects
cloud/kubernetes/cluster/openstack-heat/util.sh
Line 65 of '_tmp/wild/src/cloud/kubernetes/cluster/openstack-heat/util.sh'
while (( --$STACK_CREATE_TIMEOUT >= 0)) ;do
^~
This value can't be assigned to
cloud/kubernetes/cluster/juju/util.sh
Line 64 of '_tmp/wild/src/cloud/kubernetes/cluster/juju/util.sh'
export KUBE_NODE_IP_ADDRESSES=($(${JUJU_PATH}/return-node-ips.py "${ipoutput}"))
^~~~~~~~~~~~~~~~~~~~~~~
Commands can't contain array literals
pixelb-scripts/scripts/sematree/sematree
Line 64 of '_tmp/wild/src/pixelb-scripts/scripts/sematree/sematree'
cur_val=$(($cur_val $op 1))
^~~
Expected first ) to end arith sub, got '$op'