I have two very long comma delimited files. Each line has around 101 columns on both the files and each file has 41705 records.
Before Sorting File A & File B both:-
01B60D9F4DEB83,FY
01B60D9F4DEB83,AU
01B60D9F4DEB83,BB
01B60D9F4DEB83,BB
01B60D9F4DEB83,JA
After Sorting File A:-
01B60D9F4DEB83,BB
01B60D9F4DEB83,FY
01B60D9F4DEB83,BB
01B60D9F4DEB83,AU
01B60D9F4DEB83,JA
After Sorting File B:-
01B60D9F4DEB83,FY
01B60D9F4DEB83,BB
01B60D9F4DEB83,BB
01B60D9F4DEB83,AU
01B60D9F4DEB83,JA
Command used on bolth Solaris & Linux :-
sort -t"," -k1,1 fileA.csv > FileA_Sort.csv
sort -t"," -k1,1 fileB.csv > FileB_Sort.csv
Can anybody point me why we are getting differences on the same values for the same starting sequence? What am I missing?
sort
command. There's no script shown in the question.