Hello again,

Thanks a lot for you quick reply ...

But, BOTH files were sorted previously with default options.

[EMAIL PROTECTED] BaseConcepts]$ cat kk1
ice_cream%1:13:00::
life_style%1:07:00::
part-time%3:00:00::

[EMAIL PROTECTED] BaseConcepts]$ cat kk2
ice_cream%1:13:00:: 07510835 1 1
icecream%1:13:00:: 07510835 1 0
life_style%1:07:00:: 04875322 1 2
part-time%3:00:00:: 01131371 1 21

[EMAIL PROTECTED] BaseConcepts]$ join <(sort kk1) <(sort kk2)
life_style%1:07:00:: 04875322 1 2
part-time%3:00:00:: 01131371 1 21

[EMAIL PROTECTED] BaseConcepts]$ join -v 1 <(sort kk1) <(sort kk2)
ice_cream%1:13:00::

Then, the problem is on the "sort" command because:

[EMAIL PROTECTED] BaseConcepts]$ more kk2
ice_cream%1:13:00:: 07510835 1 1
icecream%1:13:00:: 07510835 1 0
life_style%1:07:00:: 04875322 1 2
part-time%3:00:00:: 01131371 1 21
[EMAIL PROTECTED] BaseConcepts]$ sort kk2
icecream%1:13:00:: 07510835 1 0
ice_cream%1:13:00:: 07510835 1 1
life_style%1:07:00:: 04875322 1 2
part-time%3:00:00:: 01131371 1 21

In fact, adding icecream%1:13:00: in kk1 we obtain:

[EMAIL PROTECTED] BaseConcepts]$ sort kk1
ice_cream%1:13:00::
icecream%1:13:00::
life_style%1:07:00::
part-time%3:00:00::
[EMAIL PROTECTED] BaseConcepts]$ sort kk2
icecream%1:13:00:: 07510835 1 0
ice_cream%1:13:00:: 07510835 1 1
life_style%1:07:00:: 04875322 1 2
part-time%3:00:00:: 01131371 1 21

Which could be the reason to produce two different orderings??

Thanks in advance,

German
_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to