[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] conditionals
From: |
Ted Harding |
Subject: |
Re: [Groff] conditionals |
Date: |
Tue, 01 Jun 2010 08:49:04 +0100 (BST) |
On 01-Jun-10 04:42:55, Robert Thorsby wrote:
> On 01/06/10 14:16:28, Larry McVoy wrote:
>> What I would oh-so-love to be able to do is
>>
>> .if \n[EULA]=1 || \n[EULA]=3
>>
>> I wandered through the groff docs and didn't see any way to do that.
>>
>> A) Is there a way?
>> B) If not, if I send in a patch to do that would the team be open to
>> accepting it?
>
> While you are at it, would you please include "elif" in your patch. :-)
>
> Robert Thorsby
Hi,
There are already (as well as ".if") ".ie" for "if-else", "&" for "and"
and ":" for "or".
See 'info groff' under
* Request Index::
--> * ie: Read this for ".ie" and ".if" then at the bottom:
--> *Note Expressions:: for "&" and ":"
Ted.
--------------------------------------------------------------------
E-Mail: (Ted Harding) <address@hidden>
Fax-to-email: +44 (0)870 094 0861
Date: 01-Jun-10 Time: 08:48:59
------------------------------ XFMail ------------------------------
Re: [Groff] conditionals, Larry Kollar, 2010/06/01
Re: [Groff] conditionals, Werner LEMBERG, 2010/06/01