Comparing inputs of sort in textutils-1.22 and textutils-2.0 on redhat 6.1
with the patches installed properly to 1.22:
input file
----------BEGIN
A AA
AA A
A AB
----------END
usuing 1.22
% sort < input
A A
A AB
AA A
using 2.0
% sort < input
A A
AA A
A AB
It seems that the findlines or some such routine is not properly identifying
the record separator, here is what compare is comparing at each point:
in compare
a=AA A
A AB
,b=A AB
in compare
a=A A
AA A
A AB
,b=AA A
A AB
so, two compares are run.
-Matt