diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-08-29 21:37:12 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-08-29 21:37:12 +0000 |
commit | 92a45ceee5fdefcbd3912e62cb683e48a6d9e966 (patch) | |
tree | 2933f2cae26e825c6264f2b7eb74a031349df801 /share/man/man7 | |
parent | 3fadb442fa9bbc345e4a5a7a90d30273baf95069 (diff) |
Implement the escape sequence \\$*, expanding to all arguments
of the current user-defined macro.
This is another missing feature required for ocserv(8).
Problem reported by Kurt Jaeger <pi at FreeBSD>.
Diffstat (limited to 'share/man/man7')
-rw-r--r-- | share/man/man7/roff.7 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/share/man/man7/roff.7 b/share/man/man7/roff.7 index 5426baf5f7d..2410d45d279 100644 --- a/share/man/man7/roff.7 +++ b/share/man/man7/roff.7 @@ -1,4 +1,4 @@ -.\" $OpenBSD: roff.7,v 1.52 2015/05/31 23:12:16 schwarze Exp $ +.\" $OpenBSD: roff.7,v 1.53 2015/08/29 21:37:11 schwarze Exp $ .\" .\" Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2010, 2011, 2013, 2014 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: May 31 2015 $ +.Dd $Mdocdate: August 29 2015 $ .Dt ROFF 7 .Os .Sh NAME @@ -663,6 +663,8 @@ produces .D1 \efI\e^XtFree\e^\efP. .Pp in the input stream, and thus in the output: \fI\^XtFree\^\fP. +Each occurrence of \e\e$* is replaced with all the arguments, +joined together with single blank characters. .Pp Since macros and user-defined strings share a common string table, defining a macro |