I've got two files _jeter3.txt and _jeter1.txt
I've checked they are both sorted on the 20th column using
sort -t ' ' -c -k20,20 _jeter3.txt sort -t ' ' -c -k20,20 _jeter1.txt #no errors
but there is an error when I want to
join both files it says that the second file is not sorted:
join -t ' ' -1 20 -2 20 _jeter1.txt _jeter3.txt > /dev/null join: File 2 is not in sorted order
I don't understand why.
cat /etc/*-release #FYI openSUSE 11.0 (i586) VERSION = 11.0
UPDATE: using '
sort -f' and
join -i (both case insensitive) fixes the problem. But it doesn't explain my initial problem.
UPDATE: versions of sort & join:
> join --version join (GNU coreutils) 6.11 Copyright (C) 2008 Free Software Foundation, Inc. (...) > sort --version sort (GNU coreutils) 6.11 Copyright (C) 2008 Free Software Foundation, Inc. (...)