docs: Fix man entry for "changes" operator.
[whenjobs.git] / tools / whenjobs.pod
index 1f38d29..8455bcf 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>.
@@ -502,7 +508,7 @@ uploaded, try giving the jobs an explicit name.
 If the named variable has changed since this job last ran, then this
 evaluates to true, else false.
 
-This is the same as writing C<prev variable == variable>.
+This is the same as writing C<prev variable != variable>.
 
 =item B<increases> I<variable>
 
@@ -865,10 +871,7 @@ fields:
 =head1 MULTIPLE JOBS FILES
 
 The whenjobs I<-e> and I<-l> options edit and list a file called
-C<$HOME/.whenjobs/jobs.ml>.  This is an OCaml source file which is
-compiled behind the scenes into a bytecode file called
-C<$HOME/.whenjobs/jobs.cmo>.  C<jobs.cmo> is what the daemon normally
-loads.
+C<$HOME/.whenjobs/jobs.ml>.
 
 You can also edit C<$HOME/.whenjobs/jobs.ml> by other means (eg.  your
 own editor).  After editing, to recompile and upload it, use:
@@ -878,8 +881,7 @@ own editor).  After editing, to recompile and upload it, use:
 When you have lots of jobs, it is convenient to split the jobs across
 multiple files.  Any C<*.ml> files located in C<$HOME/.whenjobs> can
 be used (with some restrictions on filenames -- see below).  These are
-compiled to the corresponding C<*.cmo> files and loaded into the
-daemon using the I<--upload> command.
+compiled and loaded into the daemon using the I<--upload> command.
 
 To create multiple jobs files, you cannot use the I<-e> or I<-l>
 options.  Instead you have to create them yourself in