aboutsummaryrefslogtreecommitdiffstats
path: root/tests/type.right
blob: fe2c196e98a14ee3cdbf2caade19f55b7cdb9957 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
./type.tests: type: unknown option: f
type: usage: type [-apt] name [name ...]
./type.tests: type: notthere: not found
./type.tests: command: notthere: not found
function
keyword
alias
builtin
file
file
file
func is a function
func () 
{ 
    echo this is func
}
while is a shell keyword
while is a shell keyword
m is aliased to `more'
builtin is a shell builtin
/bin/sh is /bin/sh
func
func is a function
func () 
{ 
    echo this is func
}
while
while is a shell keyword
alias m='more'
alias m='more'
alias m='more'
m is aliased to `more'
builtin
builtin is a shell builtin
/bin/sh
/bin/sh is /bin/sh
./type.tests: type: func: not found
./type.tests: type: m: not found
/bin/sh
/tmp/bash
bash is hashed (/tmp/bash)
file
hits	command
   1	/bin/sh
   3	/tmp/bash