If an alias's value ends with a space or tab, the next word is also checked for aliases. This is a POSIX feature. It is useful with utilities like command and nohup (alias them to themselves followed by a space).
7 lines
87 B
Plaintext
7 lines
87 B
Plaintext
# $FreeBSD$
|
|
|
|
alias command='command '
|
|
alias alias0=exit
|
|
eval 'command alias0 0'
|
|
exit 3
|