Bob Lissner <[EMAIL PROTECTED]> writes:
| Sort version 2.0 produces this result. The 3 and the _ just don't sort
| command is sort filename
| right.
| paul3ska
| paul
| paula
| paul_ina
| paulp
| paulv
|
| sort version 1.22 works fine for me, and properly sorts the records.
| paul
| paul3ska
| paul_ina
| paula
| paulp
| paulv
|
| ==============================
| + [EMAIL PROTECTED] +
| + Bob Lissner 775-971-2000 +
| + Reno Nevada USA Earth +
| ==============================
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.