Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 1999 01:25:05 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        freebsd-questions@FreeBSD.ORG (FreeBSD Questions)
Subject:   Documentation of '[]'
Message-ID:  <199901130625.BAA04054@cc942873-a.ewndsr1.nj.home.com>

next in thread | raw e-mail | index | archive | help
A quick question. Where is the documentation of the '[]' command? If
one types,

% man [
TEST(1)                 FreeBSD General Commands Manual                TEST(1)

NAME
     test - condition evaluation utility
.
.
.
[snip]

You get the 'test(1)' manpage as you should, but there is no mention
of how and when '[]' can be used instead of 'test.' In addition, 

% apropos '\['
ppmqvga(1) - 8 plane quantization ' name [, name] ...

I am by no means a sh expert and just am interested in playing it safe
in when I can use '[].' Is this documented in the manpages somewhere?
-- 
Crist J. Clark                           cjclark@home.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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