m4 — Macro Processor

Synopsis

/usr/ccs/bin/m4 [-e][-s][-B int][-H int][-S int][-T int][-Dname [=val]] 
  ...[-U name]... [file...] 
/usr/xpg4/bin/m4 [-e][-s][-B int][-H int][-S int][-T int][-Dname [=val]] 
  ... [-U name]... [file...] 

Description

The m4 command is a macro processor front end for C, assembler, and other languages. Each of the argument files is processed in order; if there are no files or if a file is -, the standard input is read. The processed text is written to the standard output.

Macro Syntax

Macro calls have the form:

							name(arg1,arg2,..., argn) 

The ( must immediately follow the name of the macro. If the name of a defined macro is not followed by a (, it is considered to be a call of that macro with no arguments. Potential ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.