1./type.tests: line 9: type: -r: invalid option
2type: usage: type [-afptP] name [name ...]
3./type.tests: line 12: type: notthere: not found
4function
5keyword
6builtin
7file
8file
9file
10func is a function
11func () 
12{ 
13    echo this is func
14}
15while is a shell keyword
16while is a shell keyword
17builtin is a shell builtin
18/bin/sh is /bin/sh
19func
20func is a function
21func () 
22{ 
23    echo this is func
24}
25while
26while is a shell keyword
27./type.tests: line 43: type: m: not found
28alias m='more'
29alias m='more'
30m is aliased to `more'
31alias
32alias m='more'
33alias m='more'
34alias m='more'
35m is aliased to `more'
36builtin
37builtin 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
44bash is hashed (/tmp/bash)
45file
46hits	command
47   3	/tmp/bash
48   1	/bin/sh
49