I have found an inconsistency between the way your sort works on linux and the way it works on windows. On linux it ignores non [a-zA-Z0-9] characters so "the42" comes after "the,3" but it comes before "the,5". But on windows it does not ignore them so "the42" comes last. See examples below.
-----------------------on windows------------------------------- F:\>sort --version sort (GNU textutils) 2.0 Written by Mike Haertel. Copyright (C) 1999 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. F:\>cat test.2 the,992408711,2,68,73 the,400408731,1,91 the,400408758,1,52 the,400408789,1,221 the,400408790,1,246 the,400408801,1,221 the,400408803,1,39 the,400408815,4,70,77,97,143 the411,100167223,1,77 the411,400167223,1,37 the991,400167223,1,37 the999,400167223,1,37 the,500000000,1,2 the,500000001,1,2 the,500000002,1,2 the,500000004,1,2 the,500000005,1,2 the,500000006,1,2 the,500000007,1,2 the,500000008,1,2 the,500000011,1,2 the,500000012,1,2 F:\>sort test.2 the,400408731,1,91 the,400408758,1,52 the,400408789,1,221 the,400408790,1,246 the,400408801,1,221 the,400408803,1,39 the,400408815,4,70,77,97,143 the,500000000,1,2 the,500000001,1,2 the,500000002,1,2 the,500000004,1,2 the,500000005,1,2 the,500000006,1,2 the,500000007,1,2 the,500000008,1,2 the,500000011,1,2 the,500000012,1,2 the,992408711,2,68,73 the411,100167223,1,77 the411,400167223,1,37 the991,400167223,1,37 the999,400167223,1,37 ---------------------------------------on linux ------------------------------------------- [chris@zorak chris]$ sort --version sort (GNU textutils) 2.0 Written by Mike Haertel. Copyright (C) 1999 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [chris@zorak chris]$ cat test.2 the,992408711,2,68,73 the,400408731,1,91 the,400408758,1,52 the,400408789,1,221 the,400408790,1,246 the,400408801,1,221 the,400408803,1,39 the,400408815,4,70,77,97,143 the411,100167223,1,77 the411,400167223,1,37 the991,400167223,1,37 the999,400167223,1,37 the,500000000,1,2 the,500000001,1,2 the,500000002,1,2 the,500000004,1,2 the,500000005,1,2 the,500000006,1,2 the,500000007,1,2 the,500000008,1,2 the,500000011,1,2 the,500000012,1,2 [chris@zorak chris]$ sort test.2 the,400408731,1,91 the,400408758,1,52 the,400408789,1,221 the,400408790,1,246 the,400408801,1,221 the,400408803,1,39 the,400408815,4,70,77,97,143 the411,100167223,1,77 the411,400167223,1,37 the,500000000,1,2 the,500000001,1,2 the,500000002,1,2 the,500000004,1,2 the,500000005,1,2 the,500000006,1,2 the,500000007,1,2 the,500000008,1,2 the,500000011,1,2 the,500000012,1,2 the991,400167223,1,37 the,992408711,2,68,73 the999,400167223,1,37 _______________________________________________ Bug-textutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-textutils