Hi Guys:
I have a question. The which script provided as an alternative to Gnu
Which uses the syntax:
type -pa | head -n 1 ...
My question is, why do we pipe it through head so we can choose only the
first occurence when 'type -path' does the same thing? If it's a
portability thing, that doesn't seem to make sense because we specify
#!/bin/bash. Also, I don't know much of bash's history, so is it
possibly because this is a new feature?
--
JH
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page