Hi Holger,
> Due to the 'Troff User's Manual' page 24 and the man 7 groff (missing
> a negation)
What's missing?
> the statement:
>
> .if 'str1'str2' anything
>
> cannot handle regular expressions or kinda glob-ing as patterns?
Correct. It's not a simple string compare though, groff's info manual
explains more.
info groff 2>/dev/null |
sed -n '/Node: Operators in Conditionals/,/^File:/p'
You can get close with De Morgans to turn a|b into !(!a&!b) and chain
two .ifs to do the & with the first being a .ie so the .el mops up, but
it misses one of the cases.
BTW, do any info experts know how to have info(1) format just that node?
-n doesn't work to visit that node, it thinks it doesn't exist even
though it's printing that as the node name. I guess it's looking
somewhere else for -n.
$ info -n 'Operators in Conditionals' groff
info: Cannot find node `Operators in Conditionals'.
$
Cheers, Ralph.