[Top][All Lists]

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

Re: [Groff] condition: OR of two string comparisons

From: Werner LEMBERG
Subject: Re: [Groff] condition: OR of two string comparisons
Date: Mon, 17 Nov 2014 20:42:35 +0100 (CET)

> True.  Denis has a point though, it would be nice to use new syntax
> for things like `.nr'.

Example, please.

> I'd favour mandatory braces and no parenthesis around the condition.


> Must we keep the cluttered `\{\' with the new syntax?  What if the
> open brace indicated multi-line format and the else/elsif has to be
> on the closing `.}' line?

I think we have to stay with `\{' and `\}'; the final `\' we can
probably drop.  Note that `.{' and `.}' might be macros already in

> Could a single-line .iff give new syntax for the brief
> else/elsif-less case?  Leading spaces after the colon would be
> swallowed, as with existing `.if'.
>     .iff ...: foo\c

Mhmm, certainly possible, but not elegant.


reply via email to

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