From 20a79b31c9897f825323eedee4c0eb01922d53da Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 22 Mar 2018 18:37:52 +0200 Subject: Add support for %a and %A in printf. --- doc/gawk.1 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'doc/gawk.1') diff --git a/doc/gawk.1 b/doc/gawk.1 index 16762a86..48c07b72 100644 --- a/doc/gawk.1 +++ b/doc/gawk.1 @@ -13,7 +13,7 @@ . if \w'\(rq' .ds rq "\(rq . \} .\} -.TH GAWK 1 "Feb 15 2018" "Free Software Foundation" "Utility Commands" +.TH GAWK 1 "Mar 22 2018" "Free Software Foundation" "Utility Commands" .SH NAME gawk \- pattern scanning and processing language .SH SYNOPSIS @@ -1264,7 +1264,7 @@ behavior: \fBPROCINFO["NONFATAL"]\fR If this exists, then I/O errors for all redirections become nonfatal. .TP -\fBPROCINFO["\fname\fB", "NONFATAL"]\fR +\fBPROCINFO["\fIname\fB", "NONFATAL"]\fR Make I/O errors for .I name be nonfatal. @@ -2429,6 +2429,14 @@ function (see below) accept the following conversion specification formats: .TP "\w'\fB%g\fR, \fB%G\fR'u+2n" +.BR "%a" "," " %A" +A floating point number of the form +[\fB\-\fP]\fB0x\fIh\fB.\fIhhhh\fBp+\-\fIdd\fR +(C99 hexadecimal floating point format). +For +.BR %A , +uppercase letters are used instead of lowercase ones. +.TP .B %c A single character. If the argument used for -- cgit v1.2.3