File: exec.right

package info (click to toggle)
bash 2.03-6
  • links: PTS
  • area: main
  • in suites: potato
  • size: 7,804 kB
  • ctags: 5,268
  • sloc: ansic: 57,541; sh: 11,501; yacc: 2,808; makefile: 2,537; perl: 1,730; asm: 48
file content (39 lines) | stat: -rw-r--r-- 857 bytes parent folder | download | duplicates (2)
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
37
38
39
before exec1.sub: one two three
calling exec1.sub
aa bb cc dd ee
after exec1.sub with args: 0

after exec1.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
./exec3.sub: /tmp/bash-notthere: No such file or directory
./exec3.sub: 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
./exec5.sub: exec: bash-notthere: not found
127
this is ohio-state