Re:Notes on the M4 Macro Language (2008)
by jjice on Thursday May 19, 2022 @08:18PM
(#31441901)
Wanted a template script recently. I thought for a bit about it and realized that PHP is pretty perfect for the job. Worked well for simple dynamic templates, and no dependencies outside of PHP.
[ Parent
| on HN ]
Re:Notes on the M4 Macro Language (2008)
by jamesfinlayson on Thursday May 19, 2022 @10:15PM
(#31442601)
I remember a sysadmin doing the same thing at a previous job (I think he used it for generating PXE boot scripts or something like that) - as you say, great for simple dynamic templates and PHP was the only dependency.