.sh check for numeric content
fwd at gothschlampen.com
Thu Jun 24 11:15:51 UTC 2010
On Thu, Jun 24, 2010 at 12:31:13PM +0200, Thomas wrote:
> 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..
More information about the freebsd-questions