aboutsummaryrefslogtreecommitdiffstats
path: root/POSIX.STD
diff options
context:
space:
mode:
Diffstat (limited to 'POSIX.STD')
-rw-r--r--POSIX.STD19
1 files changed, 13 insertions, 6 deletions
diff --git a/POSIX.STD b/POSIX.STD
index 31760c48..a5b2fe3d 100644
--- a/POSIX.STD
+++ b/POSIX.STD
@@ -5,7 +5,7 @@
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
--------------------------------------------------------------------------
-Fri Nov 19 11:59:56 IST 2010
+Wed Dec 1 21:51:31 IST 2010
============================
This file documents several things related to the 2008 POSIX standard
that I noted after reviewing it.
@@ -26,9 +26,16 @@ that I noted after reviewing it.
More discussion is provided in the node `POSIX Floating Point Problems'
in gawk.texi.
-3. String comparison with <, <= etc is supposed to take the local collating
- sequence into account. Gawk currently doesn't. This is exacerbated
- by the fact that the standard routines all want zero-terminated
- strings to work on.
+3. String comparison with <, <= etc is supposed to take the locale's collating
+ sequence into account. By default gawk doesn't do this. Rather, gawk
+ will do this only if --posix is in effect.
- THIS SHOULD BE WORKED ON.
+The following things aren't described by POSIX but ought to be:
+
+1. The value of $0 in an END rule
+
+2. The return value of a function that either does return with no value
+ or that falls off the end of the function body.
+
+3. What happens with substr() if start is <= 0, or greater than the length
+ of the string, or if length is <= 0.