Werner LEMBERG <w...@gnu.org> wrote: |> but what i really would like to do is rather |> |> .if !d \V[GROFF_NO_MDOCMX] |> |> so to be synchronous with $GROFF_NO_SGR. Well i am, but only on |> grotty(1) level, not in the macros, which is odd. |> Wouldn't it be, even more, natural to be able to use "d" for that? | |\V always returns a string. If the environment variable is not |defined, it returns an empty string.
|It might be possible to create another interface to environment |variables, but I strongly doubt that it is worth the trouble. And it's not that alone, it is also that "-dSTRING" doesn't work as expected, it has to be "-dSTRING=VALUE", even though ".ds STRING" will do. I have to look into that. --steffen