diff options
author | wl <wl> | 2006-10-23 07:59:54 +0000 |
---|---|---|
committer | wl <wl> | 2006-10-23 07:59:54 +0000 |
commit | 2a780afc73e6e2dabc038f84b6a51e1472ea63bc (patch) | |
tree | 1411b0b86bcf7af92d6366230795a7a15c86c57e /doc | |
parent | b219d55c18ff4100c6883025868d2af47c7377bb (diff) | |
download | groff-2a780afc73e6e2dabc038f84b6a51e1472ea63bc.tar.gz |
* doc/groff.texinfo (Expressions): Improve documentation of `!'.
* tmac/trace.tmac (return): Don't call `substring'.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/groff.texinfo | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/groff.texinfo b/doc/groff.texinfo index e4670ac4..05394f35 100644 --- a/doc/groff.texinfo +++ b/doc/groff.texinfo @@ -5088,8 +5088,10 @@ Logical: @samp{&} (logical and), @samp{:} (logical or). @cindex @code{while} request, and the @samp{!} operator Unary operators: @samp{-} (negating, i.e.@: changing the sign), @samp{+} (just for completeness; does nothing in expressions), @samp{!} (logical -not; this works only within @code{if} and @code{while} requests). See -below for the use of unary operators in motion requests. +not; this works only within @code{if} and @code{while} +requests).@footnote{Note that, for example, @sample{!(-1)} evaluates to +`true' because @code{gtroff} treats both negative numbers and zero as +`false'.} See below for the use of unary operators in motion requests. @item @cindex extremum operators (@code{>?}, @code{<?}) |