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

There doesn't even seem to be a flag to override this unexpected and
annoying behavior.  The man page says,

       Copyright © 1999 Free Software Foundation, Inc.
       This is free software; see the source for  copying  condi­
       tions.  There is NO warranty; not even for MERCHANTABILITY
       or FITNESS FOR A PARTICULAR PURPOSE.

so i guess you get what you pay for.

                                                -- dave

Reply via email to