Files
cheatsheet-tldr/tldr/m4
2025-08-21 00:18:40 +00:00

18 lines
367 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# m4
> Macro processor.
> More information: <https://www.gnu.org/software/m4/manual/m4.html#Invoking-m4>.
- Process macros in a file:
`m4 {{path/to/file}}`
- Define a macro before processing files:
`m4 {{[-D|--define]}} {{macro_name}}={{macro_value}} {{path/to/file}}`