The program macros
macros is a simple macro processor
that reads from standard input and writes to standard output.
Macros may be defined in the input stream or on the command line.
For example, if you call it with the command line
$ macros -DMAC=123
and type in this input:
define(TEST,this is a test)
define(a1,$1 is an argument)
TEST
a1(x)
MAC
you should get this output:
this is a test
x is an argument
123
macros is used in Sessions 1 through 4.
Next topic:
The program sget
Previous topic:
Programs used in the sessions
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004