oilshell.org

7 osh2oil failures

freebsd-11.1/bin/pkill/tests/pkill-j_test.sh
  Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 224, in <module>
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 199, in main
    return AppBundleMain(argv)
  File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 155, in AppBundleMain
    return tools_main.OshCommandMain(main_argv)
  File "/home/andy/git/oilshell/oil/tools/tools_main.py", line 145, in OshCommandMain
    osh2oil.PrintAsOil(arena, node)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 181, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 461, in DoCommand
    at_top_level=at_top_level)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 711, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 545, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 505, in DoCommand
    raise RuntimeError('Got [ without ]')
RuntimeError: Got [ without ]

  
freebsd-11.1/bin/ed/test/mkscripts.sh
    	$ED - <<-EOF
  	      ^~~
'../oil_DEPS/wild/src/freebsd-11.1/bin/ed/test/mkscripts.sh':28: Couldn't find terminator for here doc that starts here

  
freebsd-11.1/bin/ed/test/ckscripts.sh
    	base=`$ED - \!"echo $i" <<-EOF
  	                        ^~~
'../oil_DEPS/wild/src/freebsd-11.1/bin/ed/test/ckscripts.sh':25: Couldn't find terminator for here doc that starts here

  
shell/shflags/examples/debug_output.sh
    FLAGS_HELP=`cat <<EOF
                  ^~
'../oil_DEPS/wild/src/shell/shflags/examples/debug_output.sh':19: Couldn't find terminator for here doc that starts here

  
books/wicked_cool_shell_scripts_2e/4/zcat
  Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 224, in <module>
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 199, in main
    return AppBundleMain(argv)
  File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 155, in AppBundleMain
    return tools_main.OshCommandMain(main_argv)
  File "/home/andy/git/oilshell/oil/tools/tools_main.py", line 145, in OshCommandMain
    osh2oil.PrintAsOil(arena, node)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 181, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 461, in DoCommand
    at_top_level=at_top_level)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 704, in DoCommand
    self.DoCommand(sentence, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 552, in DoCommand
    self.DoCommand(node.child, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 505, in DoCommand
    raise RuntimeError('Got [ without ]')
RuntimeError: Got [ without ]

  
books/wicked_cool_shell_scripts_2e/4/zgrep
  Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 224, in <module>
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 199, in main
    return AppBundleMain(argv)
  File "/home/andy/git/oilshell/oil/bin/oils_for_unix.py", line 155, in AppBundleMain
    return tools_main.OshCommandMain(main_argv)
  File "/home/andy/git/oilshell/oil/tools/tools_main.py", line 145, in OshCommandMain
    osh2oil.PrintAsOil(arena, node)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 181, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 461, in DoCommand
    at_top_level=at_top_level)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 704, in DoCommand
    self.DoCommand(sentence, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 552, in DoCommand
    self.DoCommand(node.child, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 505, in DoCommand
    raise RuntimeError('Got [ without ]')
RuntimeError: Got [ without ]

  
minix/commands/scripts/DESCRIBE.sh
    	drive=`expr \\( $minor - 128 \\) / 16`
  	              ^
'../oil_DEPS/wild/src/minix/commands/scripts/DESCRIBE.sh':97: Unexpected left paren (might need a space before it)