2 Apr
2013
2 Apr
'13
11:48
Dimstar / Dominique Leuenberger wrote:
On Sam, 2013-03-30 at 16:24 +0100, Andreas Schwab wrote:
Dimstar / Dominique Leuenberger <dimstar@opensuse.org> writes:
but $(type ls) will not get you anywhere, whereas $(which ls) actually works type -p is what you want.
Ok, learned something... Dominique
It is probably better to use type -P if you are looking for the file on disk.. If there is an alias in place or a function in place i.e. something like: alias ls='ls -CF --show-control-chars --color=always' the lower case, "-p" will show a blank whereas "-P" (capital), forced a path search. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org