freebsd-dev/bin/sh/tests/builtins/command5.0.stdout
Jilles Tjoelker 4b489a60e1 sh: Solve the alias recursion problem in a less hackish way.
Add the space to avoid alias recursion when the alias is expanded, not when
it is added.

As a result, displaying an alias via command -v, command -V or type no
longer erroneously appends a space. Adjust the tests so they now require
this bug to be absent.
2014-01-24 16:40:51 +00:00

9 lines
181 B
Plaintext

ls is /bin/ls
true is a shell builtin
/bin/ls is /bin/ls
fun is a shell function
break is a special shell builtin
if is a shell keyword
{ is a shell keyword
foo is an alias for bar