Chapter 5. M4 File Filtering

M4 is a file parsing and conversion program that should work on text files of any format (eg shell scripts, config files, LaTeX, C, C++, etc)

For conversion of template files, it uses the config file imagedir/etc/diskless-image/config.m4 hostdir/etc/diskless-host/config.m4

(settings in the ip directory take priority, put normally config options wont overlap.)

Data is read from config file in format define(<[option]>,<[value]>). The config.m4 files should correspond to the config file in the same directory.

For more information on M4, please see the M4 info page.