Imported from ../bash-2.01.tar.gz.
[platform/upstream/bash.git] / tests / type.right
1 ./type.tests: type: unknown option: f
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
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 m is aliased to `more'
19 builtin is a shell builtin
20 /bin/sh is /bin/sh
21 func
22 func is a function
23 func () 
24
25     echo this is func
26 }
27 while
28 while is a shell keyword
29 alias m='more'
30 alias m='more'
31 alias m='more'
32 m is aliased to `more'
33 builtin
34 builtin is a shell builtin
35 /bin/sh
36 /bin/sh is /bin/sh
37 ./type.tests: type: func: not found
38 ./type.tests: type: m: not found
39 /bin/sh
40 /tmp/bash
41 bash is hashed (/tmp/bash)