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

Re: Re[2]: Wierd file name?



Davy Gigan wrote:

> Try to execute a csh script without this command present in your path,
> it won't work very well ;-)
> Maybye it should be a symbolic link to /usr/bin/test ?
> 
> #!/bin/csh
> [ -d /bin ] && echo cool ;

Actually, this is classic Bourne shell syntax--the [ hard
link to test goes back to The Beginning, even before if/fi.
Note also that the closing bracket is required syntax when
the command is [, but is not required when the command
is test.



Reply to: