snippetbashTip
m4 — Macro processor. More information: <https://www.gnu.org/software/m4/manual/m4.html#Invoking-m4>.
Viewed 0 times
httpscommandmacroprocessorm4cliinformationmore
Problem
How to use the
m4 command: Macro processor. More information: <https://www.gnu.org/software/m4/manual/m4.html#Invoking-m4>.Solution
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}}Code Snippets
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}}Context
tldr-pages: common/m4
Revisions (0)
No revisions yet.