[Top][All Lists]

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

Re: [Groff] conditionals

From: Ralph Corderoy
Subject: Re: [Groff] conditionals
Date: Tue, 01 Jun 2010 13:18:13 +0100


Larry Kollar wrote:
> It's defined in groff(7), and in sec. 5.3 of the texinfo doc. Logical
> OR is a colon:
> .if \n[EULA]=1:\n[EULA]=3 \{\
> It would have been interesting to ask Joe O why a colon instead of a
> pipe here. Anyway, I use constructs like this all the time in my docs.

Perhaps because a | was already being used for `.sp |1i'?  Or because |
didn't suggest logical-or yet.  troff pre-dates C by quite a while.


reply via email to

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