Implement inequality operator (use: != or <>)
[whenjobs.git] / tools / whenjobs.pod
index acc1d94..77b26bc 100644 (file)
@@ -277,7 +277,7 @@ words, the variables are set, but "quietly" so as not to trigger any
 jobs to run.
 
 Note that this can lead to some unexpected results: one case is a
-when job such as:
+job such as:
 
  when changed a || changed b : << ... >>
 
@@ -406,7 +406,7 @@ A when statement has the form:
  >>
 
 where C<E<lt>exprE<gt>> is a I<when expression>, described below.
-Don't forget the colon character between the period expression and the
+Don't forget the colon character between the expression and the
 shell script.
 
 A when statement is a job which runs when the conditions described in
@@ -447,6 +447,12 @@ If the sub-expressions are numeric, then numeric comparison is done.
 If either sub-expression is non-numeric, then both expressions are
 converted (if necessary) to strings and string comparison is done.
 
+=item I<expr> B<E<lt>E<gt>> I<expr>
+
+=item I<expr> B<!=> I<expr>
+
+Either form can be used to test the two expressions for inequality.
+
 =item B<!> I<expr>
 
 Boolean negative of I<expr>.