Hello,

I have come across strange behavior of sort, version 2.0, release 2.

The first two lines are input, the last two ones output:

$ sort
ABB
AB:A
AB:A
ABB
$ sort
AB:C
ABB
ABB
AB:C

It seems from the cases above that ':' is ignored, because
otherwise both the results would be the same ("ABB" being either
before or after any string beginning with "AB:").

But it is not:

$ sort
A:B
A;B
A;B
A:B

Finally, a very strange one (please compare with the first two
examples):

$ sort
ABB
AB:B
AB:B
ABB

Does this have anything in common with interference between
'letters' and 'other chars', like e.g. ignore other chars and use
them only for final resort? Or is this a bug? Probably I am doing
something wrong, but do you have some idea?

Thanks a lot

Michal

Reply via email to