diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-14 14:02:39 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-14 14:02:39 +0000 |
commit | f47c24ce5479036f4e05569d948d51dbebcb1f9d (patch) | |
tree | bd0d1c73aad4e3919635064f8a112b2b14ff9297 /roff.7 | |
parent | 57f77c200a922cb0605b19e4b87d3c8931dd568a (diff) | |
download | mandoc-f47c24ce5479036f4e05569d948d51dbebcb1f9d.tar.gz |
implement the roff(7) d (macro or string defined) conditional
Diffstat (limited to 'roff.7')
-rw-r--r-- | roff.7 | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1045,8 +1045,6 @@ If the first character of is .Sq c .Pq character available , -.Sq d -.Pq string defined , .Sq e .Pq even page , .Sq t @@ -1059,6 +1057,15 @@ it evaluates to false. If the first character of .Ar condition is +.Sq d , +it evaluates to true if the rest of +.Ar condition +is the name of an existing user defined macro or string; +otherwise, it evaluates to false. +.It +If the first character of +.Ar condition +is .Sq r , it evaluates to true if the rest of .Ar condition |