Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jun 2010 13:15:29 +0200
From:      Thomas <fwd@gothschlampen.com>
To:        Aiza <aiza21@comclark.com>
Cc:        questions@freebsd.org
Subject:   Re: .sh  check for numeric content
Message-ID:  <20100624111529.GA30312@gothschlampen.com>
In-Reply-To: <20100624103113.GA27123@gothschlampen.com>
References:  <4C22B3D7.6070102@comclark.com> <20100624013755.GA5009@gothschlampen.com> <4C22C816.3000105@comclark.com> <4C22E4A0.1040206@comclark.com> <20100624103113.GA27123@gothschlampen.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 24, 2010 at 12:31:13PM +0200, Thomas wrote:

Hello,

> Even if "[" at first glance seems like a special syntax of the shell,
> it really is just an alternative name or way of calling test(1):
> 
> $ ls -l $(which test [)
> -rwxr-xr-x 1 root root 42584 2009-10-06 13:07 /usr/bin/[
> -rwxr-xr-x 1 root root 30284 2009-10-06 13:07 /usr/bin/test

I just noticed how this snippet doesn't prove my point very well :)

Hope this did not confuse you too much, just ignore the ls part.

>From now on I'll refrain from posting until I've had my coffee and
am fully awake..

Regards,
Thomas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100624111529.GA30312>