]> git.ipfire.org Git - thirdparty/bash.git/blame - tests/type.right
Imported from ../bash-2.05b.tar.gz.
[thirdparty/bash.git] / tests / type.right
CommitLineData
7117c2d2
JA
1./type.tests: line 9: type: -r: invalid option
2type: usage: type [-afptP] name [name ...]
3./type.tests: line 12: type: notthere: not found
4./type.tests: line 13: command: notthere: not found
d166f048
JA
5function
6keyword
7alias
8builtin
9file
10file
cce855bc 11file
d166f048
JA
12func is a function
13func ()
14{
15 echo this is func
16}
17while is a shell keyword
18while is a shell keyword
19m is aliased to `more'
20builtin is a shell builtin
21/bin/sh is /bin/sh
22func
23func is a function
24func ()
25{
26 echo this is func
27}
28while
29while is a shell keyword
30alias m='more'
31alias m='more'
32alias m='more'
33m is aliased to `more'
34builtin
35builtin is a shell builtin
36/bin/sh
37/bin/sh is /bin/sh
7117c2d2
JA
38./type.tests: line 51: type: func: not found
39./type.tests: line 53: type: m: not found
d166f048
JA
40/bin/sh
41/tmp/bash
42bash is hashed (/tmp/bash)
cce855bc
JA
43file
44hits command
cce855bc 45 3 /tmp/bash
7117c2d2 46 1 /bin/sh