[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Minor installation defects



On Thu, May 27, 1999 at 01:51:21PM -0700, Joel Klecker wrote:
> At 18:41 +0200 1999-05-27, Marcus Brinkmann wrote:
> >It's not bash, it's the "test" binary. Try "which [". RH seems to have a n
> >old or broken version of shellutils if test is from the GNU shellutils on
> >RH.
> 
> In most shells, [ and test are builtins, and the `test' binary and 
> `[' hard link are never used unless the builtins are disabled or the 
> binaries are invoked with an absolute path.

Ok, I was confused, because I asked on #debian how to test if a command is a
builtin or not, and they pointed me to "which", which is obviously false.

(One answer to my question would be "enable" for bash, which prints all
builtins)

Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org   finger brinkmd@ 
Marcus Brinkmann              GNU    http://www.gnu.org     master.debian.org
Marcus.Brinkmann@ruhr-uni-bochum.de                        for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/       PGP Key ID 36E7CD09


Reply to: