Show Menu
Cheatography

M4 Basics Cheat Sheet (DRAFT) by

Just enough to get by using M4 Preprocessor

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Invoking M4

basic
m4 source.txt.m4 > destin­ati­on.txt
include
-I ./somedir
definition
-DKEY=­VALUE
   

Handy Hints

date
-DDATE­=`date --iso-­8601`