You don't say which version of sort you're using nor which type of system
and distribution.  Please include that information in any problem report.
I presume it's the one from textutils-2.0 and you're using RedHat 6.1
and that you have the LC_ALL and LANG envvars set to en_US.

Unset those environment variables and it will work fine.  I understand
that this is a problem due to the fact that RH sets those variables and
that their locale data have errors.

david c carroll <[EMAIL PROTECTED]> writes:
| Since when does the "sort" command not follow ASCII ordering convention?
|
| grace:86> cat file1
| \
| B
| X
| a
| x
| *
| c
| C
| grace:87> sort file1
| *
| \
| a
| B
| C
| c
| X
| x
|
| The output should read:
|
| *
| B
| C
| X
| \
| a
| c
| x

Reply via email to