diff options
Diffstat (limited to 'cppawk.1')
-rw-r--r-- | cppawk.1 | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -1,4 +1,4 @@ -.TH CPPAWK 1 "25 March 2022" "Utility Commands" "Awk With C Preprocessing" +.TH CPPAWK 1 "28 March 2022" "Utility Commands" "Awk With C Preprocessing" .SH NAME cppawk \- wrapper for awk, with C preprocessing @@ -187,8 +187,19 @@ assumes at least version 4.0. .B cppawk points the preprocessor to look for .BI "#include <...>" -files in its own directory. There are currently no files -in this directory. +files in its own directory, which contains a library of header files that accompany +.BR cppawk . + +.IR <case.h> +This header provides macros for writing a +.BI case +statement. The case statement +syntax is designed so that a GNU Awk switch statement is easily converted to it. +The preprocessor translates it back to a clean GNU Awk switch statement, +or to portable Awk code that runs on other Awks. The contents of this header +are documented by the +.B cppawk-case +manual page. .SH EXAMPLES Print the larger of field 1 or 2: |