Subject: Re: /bin/[ ?
To: None <netbsd-help@netbsd.org>
From: Bill Squier <groo@old-ones.com>
List: netbsd-help
Date: 03/14/2002 11:40:48
On Wed, Mar 13, 2002 at 10:43:55PM -0500, Michael C. Ibarra wrote:
> > 
> > Hi, 
> > 
> > I was looking around /bin to see what's big and small, and came across an odd file called '['.  Would someone kindly tell me why it's there?  
> 
> Do man \[ as you need the escape the special character

Actually, you'd need `man \\[' because of a misuse of glob(3) and fnmatch(3)
in man.c  (You need man to see `\[' as the page you are requesting).

I've fixed this in -current.  Now man's arguments should be the actual names
of the pages you are requesting (glob-special characters are automatically
escaped).  This means that `man [' works.

-- 
Bill Squier (groo@old-ones.com)                          http://www.netbsd.org

        I know I don't deserve another chance, but this _is_ America,
        and as an American, aren't I entitled to one?  --Sideshow Bob.