I'm trying to sort some Usenet headers with GNU 'sort,' and
I'm having a big problem.
I want 'sort' to consider all the characters in each record,
but the program is acting like I'm invoking it with the '-d'
option (consider only blanks and alphanumeric characters), but
I'm not.
For example if I feed sort the following example lines
(between the rows of dashes):
-------------------
(3
(1
{2
[1
[3
(2
{1
{3
[2
-------------------
I get back the following:
-------------------
(1
[1
{1
(2
[2
{2
(3
[3
{3
-------------------
Instead, I need to get this:
-------------------
(1
(2
(3
[1
[2
[3
{1
{2
{3
-------------------
I've looked over the man page, and didn't see anything to
correct this behavior, but I'm undoubtedly overlooking
something.
Can someone help, please?
And while I'm at it, does anyone know of a program like GNU
sort that offers some sort of progress indication, so that I
could send a progress report back to my main program through a
pipe or something?
Thanks!