diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-06-14 14:01:35 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-06-14 14:01:35 +0000 |
commit | fe020919d92d7dcd8865b67afb2fd4ce3a5936ea (patch) | |
tree | 449cf8698491040b16476c818e125ed40c3ccc81 /share/man/man7 | |
parent | 6c9ea8e06dfe6b28db83f7f24c24845b9f4696ff (diff) |
implement the roff(7) d (macro or string defined) conditional
Diffstat (limited to 'share/man/man7')
-rw-r--r-- | share/man/man7/roff.7 | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/share/man/man7/roff.7 b/share/man/man7/roff.7 index 499d1bb7e1c..a1934569593 100644 --- a/share/man/man7/roff.7 +++ b/share/man/man7/roff.7 @@ -1,4 +1,4 @@ -.\" $OpenBSD: roff.7,v 1.69 2017/06/14 13:00:13 schwarze Exp $ +.\" $OpenBSD: roff.7,v 1.70 2017/06/14 14:01:34 schwarze Exp $ .\" .\" Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2010,2011,2013-2015,2017 Ingo Schwarze <schwarze@openbsd.org> @@ -1043,8 +1043,6 @@ If the first character of is .Sq c .Pq character available , -.Sq d -.Pq string defined , .Sq e .Pq even page , .Sq t @@ -1057,6 +1055,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 |