DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Using the command line interface of debug

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

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005