groff
[Top][All Lists]
Advanced

[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: 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



reply via email to

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