gpp

Customizable general-purpose preprocessor for text file processing

brewmacoslinux
Try with needOr install directly
Source

About

General-purpose preprocessor with customizable syntax

Commands

gpp

Examples

Preprocess a file with default C-style syntax$ gpp input.txt -o output.txt
Use custom delimiters for macro definitions$ gpp -D input.txt -o output.txt
Define a macro directly from command line$ gpp -DMACRO=value input.txt -o output.txt