Quoting Linda Walsh <suse@tlinx.org>:
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.
Which still does not change the fact that a lot of build scripts use which.. Changing all the scritps / build systems to do "the right thing" will not be done in the next 2 weeks. in plus: the issue has been fixed and everybody moved on to breaking other stuff :) Dominique -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org