.\" @(#)test.1 6.1 (Berkeley) %G%
test \- condition command
and if its value is true then returns zero exit status; otherwise, a
non zero exit status is returned.
returns a non zero exit if there are no arguments.
The following primitives are used to construct
true if the file exists and is readable.
true if the file exists and is writable.
true if the file exists and is not a directory.
true if the file exists exists and is a directory.
true if the file exists and has a size greater than zero.
true if the open file whose file descriptor number is
is associated with a terminal device.
true if the length of string
true if the length of the string
These primaries may be combined with the
parentheses for grouping.
has higher precedence than
Notice that all the operators and flags are separate
Notice also that parentheses are meaningful
to the Shell and must be escaped.