summaryrefslogtreecommitdiffstats
path: root/roff.7
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-08-29 21:37:20 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-08-29 21:37:20 +0000
commited5bfd990cd4e6ba2ef4f67f0a93fd3b75795b15 (patch)
treeef7887daeea3e419323ae7ad4fd8a9b186c4b1f9 /roff.7
parent3f8c736c787041e63a15602a4b099c5c4270713e (diff)
downloadmandoc-ed5bfd990cd4e6ba2ef4f67f0a93fd3b75795b15.tar.gz
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 'roff.7')
-rw-r--r--roff.72
1 files changed, 2 insertions, 0 deletions
diff --git a/roff.7 b/roff.7
index d8fc0c04..c452edb3 100644
--- a/roff.7
+++ b/roff.7
@@ -665,6 +665,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