diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-03-22 20:03:45 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-03-22 20:03:45 +0200 |
commit | 264ef6a7dad099f3fdb10c7cab88f1d4e6257c96 (patch) | |
tree | ea31ac104d7a903f9c86905abca5b65ceca5493b /doc/gawktexi.in | |
parent | 9e06eb5b97fb92f15344a909dfbf7455946564c5 (diff) | |
parent | 047fa8844122d13e2898972c9e0a2332ddddc2f5 (diff) | |
download | egawk-264ef6a7dad099f3fdb10c7cab88f1d4e6257c96.tar.gz egawk-264ef6a7dad099f3fdb10c7cab88f1d4e6257c96.tar.bz2 egawk-264ef6a7dad099f3fdb10c7cab88f1d4e6257c96.zip |
Merge branch 'master' into feature/fix-comments
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r-- | doc/gawktexi.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/gawktexi.in b/doc/gawktexi.in index c89006e3..b842ec1f 100644 --- a/doc/gawktexi.in +++ b/doc/gawktexi.in @@ -9156,6 +9156,25 @@ the field width. Here is a list of the format-control letters: @c @asis for docbook to come out right @table @asis +@item @code{%a}, @code{%A} +A floating point number of the form +[@code{-}]@code{0x@var{h}.@var{hhhh}p+-@var{dd}} +(C99 hexadecimal floating point format). +For @code{%A}, +uppercase letters are used instead of lowercase ones. + +@quotation NOTE +While the current POSIX standard requires support for @code{%a} +and @code{%A} in @command{awk}, as far as we know, no other version +of @command{awk} actually implements it. It's use is thus highly +nonportable! + +Furthermore, these formats are not available on any system where the +underlying C library @code{printf()} function does not support them. As +of this writing, among current systems, only OpenVMS is known to not +support them. +@end quotation + @item @code{%c} Print a number as a character; thus, @samp{printf "%c", 65} outputs the letter @samp{A}. The output for a string value is |