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.
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
3 years ago
6 months ago