]>
Commit | Line | Data |
---|---|---|
b72432fd | 1 | ./type.tests: type: illegal option: -f |
d166f048 JA |
2 | type: usage: type [-apt] name [name ...] |
3 | ./type.tests: type: notthere: not found | |
4 | ./type.tests: command: notthere: not found | |
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 | |
38 | ./type.tests: type: func: not found | |
39 | ./type.tests: type: m: not found | |
40 | /bin/sh | |
41 | /tmp/bash | |
42 | bash is hashed (/tmp/bash) | |
cce855bc JA |
43 | file |
44 | hits command | |
45 | 1 /bin/sh | |
46 | 3 /tmp/bash |