[Corpora-List] Summary: Sorting upper-ASCII chars in Unix
William Fletcher
fletcher at usna.edu
Sun Nov 30 16:52:44 UTC 2003
Last week I posted a query on how to sort the full range of ASCII
characters under UNIX.
Many thanks to Marco Baroni, Vlado Keselj, Arne Fitschen, Serge Heiden,
Gertjan van Noord and Lisa Becktel for helping solve this. Serge's
explanation of the issues was very enlightening, and Arne's man page
(much more explicit than the one on our system) clarifies why the best
solution is to set LC_ALL to C or POSIX as follows:
setenv LC_ALL C
OR
setenv LC_ALL POSIX
Both yield straight ASCII sort for all codes through 255.
Again thanks to all for preventing further frustration with Unix!
Bill Fletcher
More information about the Corpora
mailing list