groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff] howto pass args to macro


From: Richard Ray
Subject: [Groff] howto pass args to macro
Date: Tue, 6 Apr 2010 13:22:53 -0500 (CDT)
User-agent: Alpine 2.00 (LRH 1167 2008-08-23)

I want to pass multiple arguments to a macro and each argument may be composed of multiple words/characters I figured out this works but is there a way without defining individual strings

.nf
.de P
\\*[\\$1]
\\*[\\$2]
\\*[\\$3]
..
.
.ds x a b c
.ds y d e
.ds z f g h i
.P x y z

Richard




reply via email to

[Prev in Thread] Current Thread [Next in Thread]