On Wed, Dec 24, 2014, at 04:30 PM, Vivek Vinod wrote:
> I asked the exact same thing elsewhere...
> 
> ‎http://daemonforums.org/showthread.php?t=8778
> 

I also tried man "[" before I emailed, then couldn't find the source
file in cvs - though that was my
stupidity.

Generally I never noticed the file on Linux since /bin is really messy
there (4537 entries in my other box) with only 42 entries on OpenBSD it
just stood out :)

The replies here pointed the exact reason for which I thank the people
who took the time to respond.

Since the first reply from Otto I learned that man "\[" (escaped [)
properly leads to the test man page.
I also found the Makefile which creates the file in /bin/test. Guess
it's never too late to learn and I should
try harder before hitting the list.

Regards,
Adam 
> 
> Sent from my BlackBerry 10 smartphone.
>   Original Message  
> From: Otto Moerbeek
> Sent: Wednesday 24 December 2014 19:33
> To: Adam Wolk
> Cc: [email protected]
> Subject: Re: Weird executable in /bin/ - i386 snapshots Dec 10
> 
> On Wed, Dec 24, 2014 at 02:55:15PM +0100, Adam Wolk wrote:
> 
> > Hi all,
> > 
> > I was doing a cursory look around my i386 laptop installation of OpenBSD
> > snapshot from Dec 10 obtained from ftp://ftp.icm.edu.pl/ and noticed an
> > unusual executable /bin/[
> > 
> > It has the same timestamp as all other binaries installed with the Dec
> > 10 snapshot.
> > Does anyone know if this is normal and what this binary does or where it
> > could came from?
> 
> It's not weird and has been in Unix for ages. It's is an alternative
> name for test(1). man '[' and google will tell you it's use.
> 
> -Otto
> 
> > 
> > Regards,
> > -- 
> > Adam Wolk
> > [email protected]

Reply via email to