.he 'IF (I)'3/15/72'IF (I)'
NAME if -- conditional command
SYNOPSIS if
\b\b__ expr command [ arg
\e91
\e8 ... ]
evaluates the expression expr
\b\b\b\b____, and if its value is true
\b\b\b\b____,
executes the given command
\b\b\b\b\b\b\b_______ with the given 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 strings s1
\b\b__ and s2
\b\b__ are equal.
true if the strings s1
\b\b__ and s2
\b\b__ are not equal.
These primaries may be combined with the
binary and
\b\b\b___ operator
parentheses for grouping.
-a
\b\b__ has higher precedence than -o
\b\b__.
Notice that all the operators and flags are separate
arguments to if
\b\b__ and hence must be surrounded by spaces.
if the expression has the wrong syntax;