Files
bash/tests/type.right
T
2009-09-12 16:46:51 +00:00

47 lines
763 B
Plaintext

./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