On 09/01/2010 09:56 AM, Paul Eggert wrote:
Such a behavior conforms to POSIX, which explicitly says that [A-Z] has unspecified behavior outside the POSIX locale. (See POSIX 9.3.5 point 7 at <http://www.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html#tag_09_03_05>.) Users invariably want the Emacs behavior, not the grep behavior.
Agreed. This is likewise one of the most frequently reported bugs to the bash list, where users want the emacs behavior (encoding-based range) even though bash gives them the grep behavior (collation-equivalence based range).
-- Eric Blake [email protected] +1-801-349-2682 Libvirt virtualization library http://libvirt.org
