<hoh...@arcor.de> wrote:
 |>> the statement:
 |>>
 |>> .if 'str1'str2' anything
 |>>
 |>> cannot handle regular expressions or kinda glob-ing as patterns?

would be really cool to have.

 |A nested .if-statement will have two .el-parts, containing the same
 |code. I wanted to avoid that. However, a De Morgan of the original OR I

oh yes, would also be really cool to have.

 |May someone help me to direct me to the place where the .if-statements
 |for string comparison are located. I'm a bit new to the sources (and
 |had problems to grep for "if"). Do I have to look at the .m4-files?

do_if_request() in troff/input.cpp seems to be a good place.
Or wait two or three more years and wait until the next maintainer
cherry-picked changes from S-roff back into groff.
Ciao,

--steffen

Reply via email to