bug-textutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sort 2.0.11


From: Bob Proulx
Subject: Re: sort 2.0.11
Date: Sun, 9 Sep 2001 13:31:39 -0600

> sort 2.0.11 doesn't seem to sort the following:
> 
> /usr/share/terminfo/w/wy99gt-w
> /usr/share/terminfo/w/wy99gt-w
> /usr/share/terminfo/w/wy99gt-w-vb
> /usr/share/terminfo/w/wy99gt-wvb
> /usr/share/terminfo/w/wy99gt-w-vb
> /usr/share/terminfo/w/wy99gt-wvb
> /usr/share/terminfo/w/wy99gt-w-vb
> /usr/share/terminfo/w/wy99gt-wvb
> /usr/share/terminfo/w/wyse120
> 
> I only ended up with 2.0.11 via RedHat 7.1, the much older version on
> ftp.gnu.org works fine.  Is 2.0.11 not intended to be a stable release, or
> is ftp.gnu.org not the primarily public outlet for stable releases?

Thanks for the report.  It matches a common pattern.  This is not due
to a bug, but to the fact that you or your vendor have set environment
variables that direct the program to use locale specific sorting
tables which do not sort as you expect.  You or your vendor have
probably set environment variables like LANG, LC_ALL, or LANG to
en_US.  There appears to be a problem with that table on some systems
which is not part of the GNU program but part of your vendor's system
release.

Unset them, and then set LC_ALL to POSIX

  # If you use bash or some other Bourne-based shell,
  export LC_ALL=POSIX

  # If you use a C-shell,
  setenv LC_ALL POSIX

and it will then work the way you expect because it will use a
different set of tables.

See the standards documentation for more information on the locale
variables.

  http://www.unix-systems.org/single_unix_specification_v2/xcu/sort.html

Bob

_______________________________________________
Bug-textutils mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-textutils



reply via email to

[Prev in Thread] Current Thread [Next in Thread]