m4

(redirected from M-4)
Also found in: Dictionary, Medical, Acronyms, Wikipedia.

m4

A macro processor for Unix and GCOS which is more flexible than cpp. m4 copies its input to the output, expanding macros which can be either built-in or user-defined. m4 has built-in functions for including files, running Unix commands, doing integer arithmetic, manipulating text in various ways and recursing. m4 can be used either as a front-end to a compiler or as a stand-alone tool.

sendmail's configuration file (/etc/sendmail.cf) is writen in m4 macros.

There is a GNU m4 v1.1 by Francois Pinard <pinard@iro.umontreal.ca> and a public domain version by Ozan Yigit <oz@sis.yorku.ca> and Richard A. O'Keefe <ok@goanna.cs.rmit.OZ.AU> (FTP from any 386BSD, NetBSD or FreeBSD archive). A Macintosh version is here.

See also m3, m5.

["The M4 Macro Processor", Kernighan & Ritchie, Jul 1977].
References in periodicals archive ?
In press release,Muhammad Nawaz has called for direct access from M-3 to M-4 (motorway) and said that at present the motorists have to exit from M-3 and then reach M-4.
The classes M-4, M-5 and M-6 of series 2003-FM1 are affirmed and removed from Rating Watch Negative due to an improvement in overcollateralization (OC).
75% credit enhancement provided by classes M-1 through M-4 certificates, B-1 certificate, monthly excess interest and initial overcollateralization (OC) of 0.