Lennon Cook wrote:

type -pa "$@" | head -n1
exit $PIPESTATUS

The problem is that without this extra line, the script will exit with
the exit status of 'head'.

I thought we decided to get rid of the pipe to head? Didn't we establish that type -p or type -path is sufficient?

--
JH
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to