From: schwarze Date: Sun, 11 Oct 2015 18:56:08 +0000 (+0000) Subject: Mention that the first argument of .Pf does not need escaping. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=63e5cf069a654f142be83c779fccd2372d4cbf58;p=openbsd Mention that the first argument of .Pf does not need escaping. While here, make the first sentence regarding .Pf more concise. OK jmc@ --- 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 .\" Copyright (c) 2010, 2011, 2013 Ingo Schwarze @@ -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