|
From: | Werner LEMBERG |
Subject: | Re: [Groff] condition: OR of two string comparisons |
Date: | Sat, 29 Nov 2014 12:47:41 +0100 (CET) |
> My vote for the syntax of these "extended expressions" is to simply > enclose them in brackets: > > .nr i [3+4*6] > .if ['\\$1'abc':\\n[.$]=0] stuff > > I believe this feels much more natural than the other suggestions > offered so far. Good idea! Since groff introduces \n[...] and friends already, this is indeed a natural choice. Werner
[Prev in Thread] | Current Thread | [Next in Thread] |