summaryrefslogtreecommitdiff
path: root/doc/gawk.1
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-03-22 18:37:52 +0200
committerArnold D. Robbins <arnold@skeeve.com>2018-03-22 18:37:52 +0200
commit20a79b31c9897f825323eedee4c0eb01922d53da (patch)
treef8bc24ddb36eea4667844de73d452e167e0bb0d5 /doc/gawk.1
parenta235d1584e1e3ea07ccaa1c4281af53bd1ca41b0 (diff)
downloadgawk-20a79b31c9897f825323eedee4c0eb01922d53da.tar.gz
Add support for %a and %A in printf.
Diffstat (limited to 'doc/gawk.1')
-rw-r--r--doc/gawk.112
1 files changed, 10 insertions, 2 deletions
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