]> git.ipfire.org Git - thirdparty/bash.git/blob - tests/type.right
Imported from ../bash-3.0.tar.gz.
[thirdparty/bash.git] / tests / type.right
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
5 function
6 keyword
7 builtin
8 file
9 file
10 file
11 func is a function
12 func ()
13 {
14 echo this is func
15 }
16 while is a shell keyword
17 while is a shell keyword
18 builtin is a shell builtin
19 /bin/sh is /bin/sh
20 func
21 func is a function
22 func ()
23 {
24 echo this is func
25 }
26 while
27 while is a shell keyword
28 ./type.tests: line 42: type: m: not found
29 ./type.tests: line 43: command: m: not found
30 alias m='more'
31 alias m='more'
32 m is aliased to `more'
33 alias
34 alias m='more'
35 alias m='more'
36 alias m='more'
37 m is aliased to `more'
38 builtin
39 builtin is a shell builtin
40 /bin/sh
41 /bin/sh is /bin/sh
42 ./type.tests: line 64: type: func: not found
43 ./type.tests: line 66: type: m: not found
44 /bin/sh
45 /tmp/bash
46 bash is hashed (/tmp/bash)
47 file
48 hits command
49 3 /tmp/bash
50 1 /bin/sh