[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.
OK.
> 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
use.
> 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.
Werner
- Re: [Groff] condition: OR of two string comparisons, (continued)
- Re: [Groff] condition: OR of two string comparisons, Werner LEMBERG, 2014/11/15
- Re: [Groff] condition: OR of two string comparisons, Ralph Corderoy, 2014/11/16
- Re: [Groff] condition: OR of two string comparisons, Werner LEMBERG, 2014/11/17
- Re: [Groff] condition: OR of two string comparisons, Denis M. Wilson, 2014/11/17
- Re: [Groff] condition: OR of two string comparisons, Werner LEMBERG, 2014/11/19
- Re: [Groff] condition: OR of two string comparisons, Ralph Corderoy, 2014/11/17
- Re: [Groff] condition: OR of two string comparisons,
Werner LEMBERG <=
- Re: [Groff] condition: OR of two string comparisons, hohe72, 2014/11/15
- Re: [Groff] condition: OR of two string comparisons, Tadziu Hoffmann, 2014/11/16
- Re: [Groff] condition: OR of two string comparisons, James K. Lowden, 2014/11/16
- Re: [Groff] condition: OR of two string comparisons, Tadziu Hoffmann, 2014/11/17
- Re: [Groff] condition: OR of two string comparisons, Carsten Kunze, 2014/11/17
- Re: [Groff] condition: OR of two string comparisons, hohe72, 2014/11/18
- Re: [Groff] condition: OR of two string comparisons, Carsten Kunze, 2014/11/18
- Re: [Groff] condition: OR of two string comparisons, hohe72, 2014/11/18
- Re: [Groff] condition: OR of two string comparisons, Ted Harding, 2014/11/23
- Re: [Groff] condition: OR of two string comparisons, Steffen Nurpmeso, 2014/11/14