cc:  ast-developers@research.att.com
Subject: Re: Re: [ast-developers] string <> comparison in [[ ]]
--------

> Interesting. Is there some reason why locale affects it?


[[ str1 < str2 ]] does a strcoll() on str1 and str2 to decide
which one comes first.  strcoll() depends on the locale.

I have update the man page to reflect this.  It has used strcoll()
since the feature was added over 20 years ago.

David Korn
d...@research.att.com
_______________________________________________
ast-developers mailing list
ast-developers@research.att.com
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to