1998-04-17 19:52:44 +00:00
|
|
|
before exec1.sub: one two three
|
|
|
|
|
calling exec1.sub
|
1997-06-05 14:59:13 +00:00
|
|
|
aa bb cc dd ee
|
1998-04-17 19:52:44 +00:00
|
|
|
after exec1.sub with args: 0
|
1997-06-05 14:59:13 +00:00
|
|
|
|
1998-04-17 19:52:44 +00:00
|
|
|
after exec1.sub without args: 0
|
1997-06-05 14:59:13 +00:00
|
|
|
./execscript: notthere: command not found
|
|
|
|
|
127
|
|
|
|
|
notthere: notthere: No such file or directory
|
|
|
|
|
127
|
|
|
|
|
/bin/sh: /bin/sh: cannot execute binary file
|
|
|
|
|
126
|
|
|
|
|
./execscript: /: is a directory
|
|
|
|
|
126
|
|
|
|
|
/: /: cannot execute binary file
|
|
|
|
|
126
|
|
|
|
|
./execscript: .: /: is a directory
|
|
|
|
|
1
|
|
|
|
|
126
|
|
|
|
|
./execscript: .: /dev/null: not a regular file
|
|
|
|
|
1
|
|
|
|
|
this is bashenv
|
1998-04-17 19:52:44 +00:00
|
|
|
./exec3.sub: /tmp/bash-notthere: No such file or directory
|
|
|
|
|
./exec3.sub: exec: /tmp/bash-notthere: cannot execute: No such file or directory
|
1997-06-05 14:59:13 +00:00
|
|
|
126
|
|
|
|
|
./execscript: notthere: No such file or directory
|
|
|
|
|
127
|
|
|
|
|
./execscript: notthere: No such file or directory
|
|
|
|
|
127
|
|
|
|
|
./execscript: notthere: No such file or directory
|
|
|
|
|
127
|
|
|
|
|
this is sh
|
|
|
|
|
this is sh
|
|
|
|
|
unset
|
|
|
|
|
ok
|
|
|
|
|
5
|
1998-04-17 19:52:44 +00:00
|
|
|
./exec5.sub: exec: bash-notthere: not found
|
|
|
|
|
127
|
|
|
|
|
this is ohio-state
|