diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2010-11-18 23:00:31 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2010-11-18 23:00:31 +0200 |
commit | 6f3612539c425da2bc1d34db621696e6a273b01c (patch) | |
tree | 9623b3ac2c54a93e5eed3be2b1dda7f4e4bf0e47 /POSIX.NOTES | |
parent | 4e3701015635401df2fc4da58abaab7645f4ebd3 (diff) | |
download | egawk-6f3612539c425da2bc1d34db621696e6a273b01c.tar.gz egawk-6f3612539c425da2bc1d34db621696e6a273b01c.tar.bz2 egawk-6f3612539c425da2bc1d34db621696e6a273b01c.zip |
Bring latest byte code gawk into git. Hurray!
Diffstat (limited to 'POSIX.NOTES')
-rw-r--r-- | POSIX.NOTES | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/POSIX.NOTES b/POSIX.NOTES new file mode 100644 index 00000000..5840e309 --- /dev/null +++ b/POSIX.NOTES @@ -0,0 +1,25 @@ +15 November 2010 +---------------- + +1. POSIX leaves undefined what happens for something like + + awk '{ print ; exit }' if=42 /etc/passwd + + Mawk diagnoses this. Gawk and BWK awk do not. + +2. 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. For printf %c, when passing a numeric value, it is converted to + a character and printed. I suspect that it should be converted + to a wide-character and then that wide character's multibyte + encoding should be printed. + + Similarly, when given a string, only the first character of the + string should be printed. Right now it only prints the first byte. + +4. Plain `length' is no longer marked obsolescent; the doc needs updating. + +5. The POSIX.STD file needs updating. |