mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 01:41:42 +00:00
18 lines
324 B
Plaintext
18 lines
324 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{{macro_name}}={{macro_value}} {{path/to/file}}`
|