Hi Guru,
One seems to be sorting in dictionary order (-d) while the other is
doing it in ASCII, for whatever that's worth. Do you have an alias or
a script which adds -d to the sort command somewhere on one system?
BTW, read your interview in TOI yesterday. Neat. When can I have
your autograph? :-)
Regards,
-- Raju
>>>>> "Guru" == Gurunandan R Bhat <[EMAIL PROTECTED]> writes:
Guru> Greetings,
Guru> The "sort" utility from the GNU textutils package
Guru> seems to be behaving differently between distributions. Here
Guru> is sample of the difference between SuSe 6.2 and RedHat 6.1:
Guru> [RedHat 6.1]$ sort test ( (1) [1] 1 (2) [2] 2 (A) A [B] B
Guru> [SuSE 6.2]$ sort test ( (1) (2) (A) 1 2 A B [1] [2] [B]
Guru> After narrowing down to this difference in an 800 line
Guru> script, I am too tired to think. I though it might be a
Guru> locale issue, but I have good resons to rule that out. Will
Guru> some kind soul help please......
Guru> Gurunandan
Guru> -----------------------------------------------------------------------
Guru> LIH is all for free speech. But it was created for a
Guru> purpose - to help people discuss issues about installing and
Guru> running Linux. If your messages are counterproductive to
Guru> this purpose, your privileges to submit messages can and
Guru> will be revoked.
-----------------------------------------------------------------------
For information on this and other Linux India mailing lists check out
http://lists.linux-india.org/