]> git.ipfire.org Git - thirdparty/bash.git/blob - tests/type.right
Imported from ../bash-2.05b.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 alias
8 builtin
9 file
10 file
11 file
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: line 51: type: func: not found
39 ./type.tests: line 53: type: m: not found
40 /bin/sh
41 /tmp/bash
42 bash is hashed (/tmp/bash)
43 file
44 hits command
45 3 /tmp/bash
46 1 /bin/sh