5 ms·
IIRC, m4 was initially a preprocessor for Rational Fortran, as someone else said, many years before BSD and sendmail.
by adrian_b 5y ago
IIRC, m4 was initially a preprocessor for Rational Fortran, as someone else said, many years before BSD and sendmail.
- tannhaeuser 5y agoGetting flashbacks to the earliest Unix/C book I had (from 1977 with 2nd ed from 1983 or so) already mentioning ratfor and m4. Never occurred to me that these two are related.
- gnufx 5y agoThe 7th edition manual[1] says m4 was based on m3, which was based on the Software Tools macroprocessor. The source for that is at https://9p.io/cm/cs/who/bwk/toolsbook/index.html https://9p.io/cm/cs/who/bwk/toolsbook/index.html 1. e.g. https://wolfram.schneider.org/bsd/7thEdManVol2/m4/m4.pdf https://wolfram.schneider.org/bsd/7thEdManVol2/m4/m4.pdf