]>
Commit | Line | Data |
---|---|---|
7117c2d2 JA |
1 | ./type.tests: line 9: type: -r: invalid option |
2 | type: usage: type [-afptP] name [name ...] | |
3 | ./type.tests: line 12: type: notthere: not found | |
4 | ./type.tests: line 13: command: notthere: not found | |
d166f048 JA |
5 | function |
6 | keyword | |
7 | alias | |
8 | builtin | |
9 | file | |
10 | file | |
cce855bc | 11 | file |
d166f048 JA |
12 | func is a function |
13 | func () | |
14 | { | |
15 | echo this is func | |
16 | } | |
17 | while is a shell keyword | |
18 | while is a shell keyword | |
19 | m is aliased to `more' | |
20 | builtin is a shell builtin | |
21 | /bin/sh is /bin/sh | |
22 | func | |
23 | func is a function | |
24 | func () | |
25 | { | |
26 | echo this is func | |
27 | } | |
28 | while | |
29 | while is a shell keyword | |
30 | alias m='more' | |
31 | alias m='more' | |
32 | alias m='more' | |
33 | m is aliased to `more' | |
34 | builtin | |
35 | builtin is a shell builtin | |
36 | /bin/sh | |
37 | /bin/sh is /bin/sh | |
7117c2d2 JA |
38 | ./type.tests: line 51: type: func: not found |
39 | ./type.tests: line 53: type: m: not found | |
d166f048 JA |
40 | /bin/sh |
41 | /tmp/bash | |
42 | bash is hashed (/tmp/bash) | |
cce855bc JA |
43 | file |
44 | hits command | |
cce855bc | 45 | 3 /tmp/bash |
7117c2d2 | 46 | 1 /bin/sh |