Not sure if this is a bug or a problem with the way my environment it setup -
or the way I'm using sort
- But...
Given the following data in a file, the sort command does not produce the
correct output.
I have even tried setting the LC_ALL as suggested in the sort --help (set
LC_ALL=C)
AG 1
AG2 3
AG2 2
AG3 4
AG 4
AG3 3
AG4 5
AG4 6
The results are
AG 1
AG2 2
AG2 3
AG3 3
AG3 4
AG 4
AG4 5
AG4 6
I would expect the output to be more like ...
AG 1
AG 4
AG2 2
AG2 3
AG3 3
AG3 4
AG4 5
AG4 6
Any suggestions would be appreciated.
Thanks,
Dick O'Shea
Credit Suisse
==============================================================================
Please access the attached hyperlink for an important electronic communications
disclaimer:
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================