X-Git-Url: http://git.annexia.org/?p=whenjobs.git;a=blobdiff_plain;f=tools%2Fwhenjobs.pod;h=8455bcf5726f12525cb9b03582a7b9e8d60a3c95;hp=acc1d9414d588639af62360bdaf2d0dc32a1dab8;hb=HEAD;hpb=de72662854c3db9365296dd45cade2253910be7f diff --git a/tools/whenjobs.pod b/tools/whenjobs.pod index acc1d94..8455bcf 100644 --- a/tools/whenjobs.pod +++ b/tools/whenjobs.pod @@ -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 CexprE> is a I, 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 BE> I + +=item I B I + +Either form can be used to test the two expressions for inequality. + =item B I Boolean negative of I. @@ -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. +This is the same as writing C. =item B I