groff
[Top][All Lists]
Advanced

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

Re: [Groff] String editing?


From: Werner LEMBERG
Subject: Re: [Groff] String editing?
Date: Tue, 14 Nov 2000 18:09:03 +0100 (CET)

Reading again old mails...


From: address@hidden (Dean Allen Provins)
Subject: Re: [Groff] String editing?
Date: Fri, 11 Feb 2000 09:21:32 -0700 (MST)

> Would you also consider adding a macro which returns TRUE or FALSE
> if the string is a numeric (optionally preceded by a plus or minus
> sign) or not?

troff now has the \B'xxx' escape which expands to 1 or 0 according as
xxx is or is not a valid numeric expression.

This should be exactly what you need.


    Werner

reply via email to

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