Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I used comm to compare two sorted files.
Each line in these files are positive integer numbers.
But the results show
comm: file 1 is not in sorted order
comm: file 2 is not in sorted order
How come the error even if these two files are sorted?
comm wants lexicographic sort, not numeric sort. Correct this and the problem should go away.
Required, but never shown
6 years, 7 months ago
3 years, 7 months ago