Adding inetutils to LFS? (was Re: Reboot problem)

Thomas 'Balu' Walter tw at itreff.de
Wed Aug 16 07:47:42 PDT 2000


+-Gerard Beekmans-(gerard at linuxfromscratch.org)-[16.08.00 14:28]:
> > P.S.  As an aside, does anyone know where I can find source for the
> > 'which' program?
> 
> #!/bin/sh
> # start which
> type $1
> # end which 

Perhaps just do an "alias which='type -p'" in your .profile...
(-p is the correct behaviour I think - and alias is shorter than your
script :)

> that's basically the same. Unless you want to use some extra features,
> but even type can emulate those. Read the bash man page for more details
> on the 'type' built-in command.

Same  here

     Ba-which?-lu!
--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)



More information about the lfs-dev mailing list