|
From: | Bob Proulx |
Subject: | Re: regular expressions with upper case totally broken in gawk 3.1.1 |
Date: | Sun, 30 Apr 2006 09:08:32 -0600 |
User-agent: | Mutt/1.5.9i |
Tom Stockfisch wrote: > Ever since linux WS 3.0 (gawk 3.1.1) my awk programs have been > mis-behaving. Changes to support locales. The standards committees require language sorting in case folded dictionary form now instead of data sorting by internal data ordering. > awk '/[A-Z]/ {print}' > This matches the input > A > and also > b > but not > a The locale sequence is [aAbBcC..zZ] so A-Z matches [AbBcC..zZ]. Bob
[Prev in Thread] | Current Thread | [Next in Thread] |