From 85c609c42657b36dbfbde7528d9d6fd998da0fe4 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 10 May 2018 16:29:35 -0400 Subject: Improve doc on [:space:] and [:blank:]. --- doc/gawktexi.in | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'doc/gawktexi.in') diff --git a/doc/gawktexi.in b/doc/gawktexi.in index 8dada2d2..4e674491 100644 --- a/doc/gawktexi.in +++ b/doc/gawktexi.in @@ -59,7 +59,7 @@ @c applies to and all the info about who's publishing this edition @c These apply across the board. -@set UPDATE-MONTH March, 2018 +@set UPDATE-MONTH May, 2018 @set VERSION 4.2 @set PATCHLEVEL 1 @@ -5635,7 +5635,7 @@ POSIX standard. @item @code{[:print:]} @tab Printable characters (characters that are not control characters) @item @code{[:punct:]} @tab Punctuation characters (characters that are not letters, digits, control characters, or space characters) -@item @code{[:space:]} @tab Space characters (such as space, TAB, and formfeed, to name a few) +@item @code{[:space:]} @tab Space characters (these are: space, TAB, newline, carriage return, formfeed and vertical tab) @item @code{[:upper:]} @tab Uppercase alphabetic characters @item @code{[:xdigit:]} @tab Characters that are hexadecimal digits @end multitable @@ -5660,6 +5660,13 @@ range of the ASCII character set. Use a complemented character list (@samp{[^\x00-\x7F]}) to match any single-byte characters that are not in the ASCII range. +@quotation NOTE +As of this writing (May 2018), Brian Kernighan's @command{awk} treats +@code{[:blank:]} like @code{[:space:]}, incorrectly matching +more characters than it should. We have submitted a patch to him, +and hope that this will be fixed. +@end quotation + @cindex bracket expressions, collating elements @cindex bracket expressions, non-ASCII @cindex collating elements -- cgit v1.2.3