30 Mar
2013
30 Mar
'13
15:46
On Saturday 2013-03-30 16:24, Andreas Schwab wrote:
Dimstar / Dominique Leuenberger <dimstar@opensuse.org> writes:
Type is clearly good for interactive use..
type is perfectly usable non-interactively as well.
but $(type ls) will not get you anywhere, whereas $(which ls) actually works
type -p is what you want.
It is not. If "ls" is an alias, `type -p ls` will return nothing, while `which ls` continues to yield the path to the program. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org