From 71472a8560e814daaed28a4c8419af566b7da2a1 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 29 Aug 2015 21:37:20 +0000 Subject: 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 . --- roff.7 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'roff.7') diff --git a/roff.7 b/roff.7 index 127504f8..39003c09 100644 --- a/roff.7 +++ b/roff.7 @@ -1,4 +1,4 @@ -.\" $Id: roff.7,v 1.72 2015/05/31 23:13:22 schwarze Exp $ +.\" $Id: roff.7,v 1.73 2015/08/29 21:37:20 schwarze Exp $ .\" .\" Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons .\" Copyright (c) 2010, 2011, 2013, 2014 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: May 31 2015 $ +.Dd $Mdocdate: August 29 2015 $ .Dt ROFF 7 .Os .Sh NAME @@ -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 -- cgit v1.2.3-56-ge451