On 08 Jun 2016, at 23:15, Dimitry Andric <d...@freebsd.org> wrote:
> 
> On 08 Jun 2016, at 21:11, Gerald Pfeifer <ger...@pfeifer.com> wrote:
...
> Note that GNU awk does *not* produce a different optionlist file when
> used with either LANG=C or LANG=en_US.UTF-8.

And that phenomenon is explained here:

http://www.gnu.org/software/gawk/manual/gawk.html#POSIX-String-Comparison

"6.3.2.3 String Comparison with POSIX Rules

The POSIX standard says that string comparison is performed based on the
locale's collating order. This is the order in which characters sort, as
defined by the locale (for more discussion, see Locales). This order is
usually very different from the results obtained when doing straight
character-by-character comparison.34

Because this behavior differs considerably from existing practice, gawk
only implements it when in POSIX mode (see Options)."

-Dimitry

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to