Wrapper script that adds C preprocessing to Awk
cppawk is a shell script that invokes the C preprocessor (cpp) on Awk code and calls Awk (by default GNU Awk) on the result.
cppawk understands the basic Awk options like -F and -v, and also understands common cpp options like -I and -Dmacro=value.
cppawk has no dependencies beyond Awk, cpp, sed and some GNU core utilities (including printf). Preprocessed programs can be captured and transferred to systems that have Awk but not cpp or cppawk.
| Linter | Message | Location |
|---|---|---|
| optional-tests Make sure tests are only run when requested | the 'check' phase should respect #:tests? | |
| inputs-should-be-minimal Identify inputs that should use their minimal variant | 'coreutils' should probably be switched for its minimal variant |