diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-03-28 06:03:46 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-03-28 06:03:46 -0700 |
commit | 855d023555b0a1c50b9f888dcb49d6a34afcfcf3 (patch) | |
tree | 3ded2e14a5e1624907eed6735ed3aefdfc632c06 /cppawk.1 | |
parent | 23249ef206ef23760e814cb9f8170e7ae93dabcc (diff) | |
download | cppawk-855d023555b0a1c50b9f888dcb49d6a34afcfcf3.tar.gz cppawk-855d023555b0a1c50b9f888dcb49d6a34afcfcf3.tar.bz2 cppawk-855d023555b0a1c50b9f888dcb49d6a34afcfcf3.zip |
Document <case.h> with own man page; bump date.
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: |