1 before exec1.sub: one two three
4 after exec1.sub with args: 0
6 after exec1.sub without args: 0
7 ./execscript: notthere: command not found
9 notthere: notthere: No such file or directory
11 /bin/sh: /bin/sh: cannot execute binary file
13 ./execscript: /: is a directory
15 /: /: cannot execute binary file
17 ./execscript: .: /: is a directory
22 ./exec3.sub: /tmp/bash-notthere: No such file or directory
23 ./exec3.sub: exec: /tmp/bash-notthere: cannot execute: No such file or directory
25 ./execscript: notthere: No such file or directory
27 ./execscript: notthere: No such file or directory
29 ./execscript: notthere: No such file or directory
36 ./exec5.sub: exec: bash-notthere: not found