From 855d023555b0a1c50b9f888dcb49d6a34afcfcf3 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 28 Mar 2022 06:03:46 -0700 Subject: Document with own man page; bump date. --- cppawk.1 | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'cppawk.1') diff --git a/cppawk.1 b/cppawk.1 index f1b1553..aa64501 100644 --- a/cppawk.1 +++ b/cppawk.1 @@ -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 +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: -- cgit v1.2.3