Richard Fish wrote: > On 7/25/06, Arnau Bria <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I've seen a file named "[" in my /usr/bin ... > > Perfectly normal. It is a program that implements bash style tests
Not *bash* style tests. bash doesn't have much to do with this. > for script environments that don't normally do them. For example: > > if [ -f /etc/passwd ] ; then > echo "/etc/passwd exists and is a regular file" > fi > > Notice the "[" after the "if".... However, [ is normally a shell builtin and thus /usr/bin/[ isn't executed. Alexander Skwar -- Give a man a fish, and you feed him for a day. Teach a man to fish, and he'll invite himself over for dinner. - Calvin Keegan -- gentoo-user@gentoo.org mailing list