Subject: Re: [ file in /bin
To: Mipam <mipam@ibb.net>
From: Jason R Thorpe <thorpej@zembu.com>
List: netbsd-help
Date: 03/22/2001 21:58:40
On Thu, Mar 22, 2001 at 10:52:13PM -0500, Mipam wrote:

 > I noticed some file called "[" in /bin in 1.5 version.
 > hehehe, funny, but what is it for? What does it do?
 > Bye,

It is an alias for test(1) such that:

	if [ $foo = $bar ]; then
		echo "WOO!"
	fi

works.

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>