aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawktexi.in
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-03-10 22:21:11 +0200
committerArnold D. Robbins <arnold@skeeve.com>2016-03-10 22:21:11 +0200
commit8b7c7f8cc2e37a72cd71771575cf2c37a9c8d59d (patch)
treedae927b98f7c7bcd47c6d82fbca6b12ce3cb8478 /doc/gawktexi.in
parent3952172ea5f501a92c4ccf8595ebaee34d29377d (diff)
downloadegawk-8b7c7f8cc2e37a72cd71771575cf2c37a9c8d59d.tar.gz
egawk-8b7c7f8cc2e37a72cd71771575cf2c37a9c8d59d.tar.bz2
egawk-8b7c7f8cc2e37a72cd71771575cf2c37a9c8d59d.zip
Add info to ChangeLog. Update doc some more.
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r--doc/gawktexi.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index 3831d6ef..c284f848 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -17577,13 +17577,15 @@ signal (bit 7) and if so, the guilty signal number (bits 0--6).
Traditionally, @command{awk}'s @code{system()} function has simply
returned the exit status value divided by 256. In the normal case this
gives the exit status but in the case of death-by-signal it yields
-a fractional floating-point value. POSIX states that @command{awk}'s
+a fractional floating-point value.@footnote{In private correspondance,
+Dr.@: Kernighan has indicated to me that the way this was done
+was probably a mistake.} POSIX states that @command{awk}'s
@code{system()} should return the full 16-bit value.
@command{gawk} steers a middle ground.
By default, it returns just the exit status. The
@option{--traditional} option causes @command{gawk} to divide
-the return vaue by 356, just as Brian Kernighan's @command{awk} does.
+the return vaue by 256, just as Brian Kernighan's @command{awk} does.
With @option{--posix}, it returns the full 16-bit value.
If the process was killed by a signal, @command{gawk}'s @code{system()}