blob: 1b64033d58fdc34f40f1b5002ec3c5a6cb5e101f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
before execscript.sub: one two three
calling execscript.sub
aa bb cc dd ee
after execscript.sub with args: 0
after execscript.sub without args: 0
./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
./execscript.sub3: /tmp/bash-notthere: No such file or directory
./execscript.sub3: exec: /tmp/bash-notthere: cannot execute: No such file or directory
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
|