Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 308 Bytes

m4.md

File metadata and controls

22 lines (15 loc) · 308 Bytes

m4

Back{: .button}

Usecases

Use file as template and populate with variables

Replace FOO in a file with BAR

m4 -DFOO=BAR <filename>

Conditionally create block

ifdef(`LINUX',
This logic is intended only for linux systems
,
This is the fallback logic)