While doing some sorting with new sort (v 0.8.0) that came with Ubuntu 26.04, I have noticed an inconsistent behavior.
Attaching example sort1.txt and sort2.txt files that:
- lines 6&7 got randomly assigned using sort;
- stay invariant if you run over sort (again).
Expected behavior:
- files sort1.txt and sort2 are identical;
- sort produces the same output for inputs from sort1.txt or sort2.txt
sort1.txt
sort2.txt
While doing some sorting with new sort (v 0.8.0) that came with Ubuntu 26.04, I have noticed an inconsistent behavior.
Attaching example sort1.txt and sort2.txt files that:
Expected behavior:
sort1.txt
sort2.txt