Files
cheatsheet-tldr/tldr/m4
2025-03-27 00:18:38 +00:00

18 lines
340 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>.
- 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}}`