bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

groff.html: 5.20.2 if-else: link to additional operators


From: Krzysztof Żelechowski
Subject: groff.html: 5.20.2 if-else: link to additional operators
Date: Fri, 28 May 2010 16:44:15 +0200
User-agent: KMail/1.12.4 (Linux/2.6.31.12-0.2-desktop; KDE/4.3.5; x86_64; ; )

GROFF VERSION: 1.20

MACHINE: noname

OS: openSuSE 11.2

COMPILER: g++ 4.4

INPUT FILES: doc/groff.html

COMMAND LINE: xdg-open doc/groff.html#if_002delse

DESCRIPTION OF INCORRECT BEHAVIOUR:
The text says: "See Expressions, for more info."  However, the referenced node 
does not describe all expressions that are available for this instruction.
Also, the "operators" of 5.20.1 should rather be described as "predicates".

SUGGESTED FIX:
diff -p -r1.290 groff.texinfo                                                   
                 
*** groff.texinfo       23 May 2010 05:58:30 -0000      1.290                   
                 
--- groff.texinfo       28 May 2010 14:39:15 -0000                              
                 
*************** inserted additionally by @code{gtroff}.                         
                 
*** 10781,10787 ****                                                            
                 
  @cindex @code{if} request, operators to use with                              
                 
  @cindex @code{ie} request, operators to use with                              
                 
  @cindex @code{while} request, operators to use with                           
                 
! In @code{if}, @code{ie}, and @code{while} requests, there are several         
                 
  more operators available:                                                     
                 
                                                                                
                 
  @table @code                                                                  
                 
--- 10781,10788 ----                                                            
                 
  @cindex @code{if} request, operators to use with                              
                 
  @cindex @code{ie} request, operators to use with                              
                 
  @cindex @code{while} request, operators to use with                           
                 
! In @code{if}, @code{ie}, and @code{while} requests,
! in addition to ordinary @ref{Expressions}, there are several
  more operators available:

  @table @code
*************** Evaluate the expression @var{expr}, and
*** 10936,10942 ****
  remainder of the line) if @var{expr} evaluates to a value greater than
  zero (true).  @var{anything} is interpreted as though it was on a line
  by itself (except that leading spaces are swallowed).
! @xref{Expressions}, for more info.

  @Example
  .nr xxx 1
--- 10937,10943 ----
  remainder of the line) if @var{expr} evaluates to a value greater than
  zero (true).  @var{anything} is interpreted as though it was on a line
  by itself (except that leading spaces are swallowed).
! @xref{Operators in Conditionals}, for more info.

  @Example
  .nr xxx 1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]