Ric Anderson <[EMAIL PROTECTED]> writes:
| The default sort order seems to have have changed between
| textutils-1.22 and textutils-2.0. Under 1.22 and earlier versions,
| sort (with -no- command line options) of the two lines
| .gnome
| foo
| produced output of
| .gnome
| foo
...
This is a FAQ.
Here's the canned reply.
-----------
You are using the version of sort that comes with textutils-2.0
or newer and have reported a problem whereby it is sorting in
some non-ASCII order.
That is due not to a bug in sort, but to the fact that you have
set environment variables that direct sort to use improper locale-
specific tables (you or your vendor have probably set environment
variables like LC_ALL to en_US).
You should 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 then sort will work the way you expect.