summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2015-10-11 18:56:08 +0000
committerschwarze <schwarze@openbsd.org>2015-10-11 18:56:08 +0000
commit63e5cf069a654f142be83c779fccd2372d4cbf58 (patch)
treef4070634ad16e0129026999b180c611997b22e16
parentwith the RPATH enforcement, csplit(1) don't work anymore on stdin... (diff)
downloadwireguard-openbsd-63e5cf069a654f142be83c779fccd2372d4cbf58.tar.xz
wireguard-openbsd-63e5cf069a654f142be83c779fccd2372d4cbf58.zip
Mention that the first argument of .Pf does not need escaping.
While here, make the first sentence regarding .Pf more concise. OK jmc@
-rw-r--r--share/man/man7/mdoc.716
1 files changed, 10 insertions, 6 deletions
diff --git a/share/man/man7/mdoc.7 b/share/man/man7/mdoc.7
index fddf1f0aa09..f88ced32885 100644
--- a/share/man/man7/mdoc.7
+++ b/share/man/man7/mdoc.7
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mdoc.7,v 1.136 2015/09/23 09:23:49 sobrado Exp $
+.\" $OpenBSD: mdoc.7,v 1.137 2015/10/11 18:56:08 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2010, 2011, 2013 Ingo Schwarze <schwarze@openbsd.org>
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: September 23 2015 $
+.Dd $Mdocdate: October 11 2015 $
.Dt MDOC 7
.Os
.Sh NAME
@@ -2175,19 +2175,23 @@ See also
Close parenthesised context opened by
.Sx \&Po .
.Ss \&Pf
-Removes the space between its argument
-.Pq Dq prefix
-and the following macro.
+Removes the space between its argument and the following macro.
Its syntax is as follows:
.Pp
.D1 .Pf Ar prefix macro arguments ...
.Pp
This is equivalent to:
.Pp
-.D1 .No Ar prefix No \&Ns Ar macro arguments ...
+.D1 .No \e& Ns Ar prefix No \&Ns Ar macro arguments ...
+.Pp
+The
+.Ar prefix
+argument is not parsed for macro names or delimiters,
+but used verbatim as if it were escaped.
.Pp
Examples:
.Dl ".Pf $ Ar variable_name"
+.Dl ".Pf . Ar macro_name"
.Dl ".Pf 0x Ar hex_digits"
.Pp
See also