dbd51caf21ec72dc3a4c0f2c1f84c550f790981c
[platform/upstream/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 function
5 keyword
6 builtin
7 file
8 file
9 file
10 func is a function
11 func () 
12
13     echo this is func
14 }
15 while is a shell keyword
16 while is a shell keyword
17 builtin is a shell builtin
18 /bin/sh is /bin/sh
19 func
20 func is a function
21 func () 
22
23     echo this is func
24 }
25 while
26 while is a shell keyword
27 ./type.tests: line 43: type: m: not found
28 alias m='more'
29 alias m='more'
30 m is aliased to `more'
31 alias
32 alias m='more'
33 alias m='more'
34 alias m='more'
35 m is aliased to `more'
36 builtin
37 builtin is a shell builtin
38 /bin/sh
39 /bin/sh is /bin/sh
40 ./type.tests: line 65: type: func: not found
41 ./type.tests: line 67: type: m: not found
42 /bin/sh
43 /tmp/bash
44 bash is hashed (/tmp/bash)
45 file
46 hits    command
47    3    /tmp/bash
48    1    /bin/sh