On Sun, Mar 26, 2006 at 08:20:34AM -0800, Dan Nicholson wrote: > On 3/26/06, Alexander E. Patrakov <[EMAIL PROTECTED]> wrote: > > > > > > Is the piping through 'head' really necessary ? > > > 'type -p' alone seems to do the job ... > > > > Indeed, "head" isn't needed even if the binary is in two > > places in $PATH. > > type -pa is in there for the purpose of aliased binaries. > For instance: >
This does make a lot of sense. Things are quite clear now. Actually, being used to distros all throught, where the 'which' binary is surely there even in the minimal installs, the first time I faced this issue was when I was doing my first compile of lfs. One of the first packages that I installed was 'which' the moment I realised that this was not in the lfs, before the rest of blfs. At that stage, my aliases were not set, so a 'type -p' worked. Never needed this thing once 'which' was up and working ... Thanks Dan for the explanation. Bish -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page