Subject: Re: [: not found - problems with /bin/sh
To: <>
From: None <mcmahill@mtl.mit.edu>
List: port-mac68k
Date: 09/29/1999 23:51:28
actually, I think /bin/[ is a hard link to /bin/test not a soft link to
/bin/sh. Should be something like this:
ls -l /bin/test /bin/[
-r-xr-xr-x 2 root wheel 49152 May 9 04:34 /bin/[
-r-xr-xr-x 2 root wheel 49152 May 9 04:34 /bin/test
what is the line in your shell program which fails? You are sure of
correct spaces and such around the []'s?
-Dan
On Wed, 29 Sep 1999, Scott Smith wrote:
> ln -s /bin/sh /bin/[
>
> Scott
>
> On Wed, 29 Sep 1999 squeegy@squeegy.org wrote:
>
> > I am getting [: not found whenever i run any script with /bin/sh that
> > contains brackets [].
> >
> > I replaced /bin/sh with a new one and the result is the same.
> >
> > I am running 1.3.2 on a mac SE/30 8mb ram
> >
> > What can I do to fix this?
> >
> >
> >
> > ___________________
> >
> > Jt "The Squeegy" Chiodi
> >
> > http://www.squeegy.org/
> > squeegy@squeegy.org
> >
> >
>
>
> --
> scott@spy.net
>