[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Possible bug in join (coreutils) 5.1.2 and 5.2.1
From: |
Markus Ueberall |
Subject: |
Possible bug in join (coreutils) 5.1.2 and 5.2.1 |
Date: |
Sat, 25 Sep 2004 22:11:20 +0200 (CEST) |
Hi,
though it seems unlikely that nobody has seen this before if it
really is a bug, I can't explain the following behaviour:
dirdiff.tmp.1g: (shortened to prevent a linebreak)
====snip====
62 -rw------- 1 ueberall users 7 Sep 25 21:24 ./file1
6d -rw------- 1 ueberall users 4 Sep 25 20:20 ./d3/file3
d6 -rw------- 1 ueberall users 5 Sep 25 20:38 ./file4
====snip====
dirdiff.tmp.3g:
====snip====
./d3/file3
./file4
====snip====
Now, 'join -1 10 dirdiff.tmp.1g dirdiff.tmp.3g' should
print two lines, if I understand correctly --
however, the line containing ./d3/file3 is omitted!?
====snip====
./file4 d6 -rw------- 1 ueberall users 5 Sep 25 20:38
====snip====
Also, I cannot explain the following output for
'join -a 1 -1 10 dirdiff.tmp.1g dirdiff.tmp.3g':
====snip====
./d3/file3
./file4 d6 -rw------- 1 ueberall users 5 Sep 25 20:38
====snip====
Where does the first whitespace come from? According to xxd,
it's definitely not in the file!?
I saw this behaviour on two different machines (one running
Fedora-2 w/ coreutils 5.2.1, the other operating under Mandrake
9.2 w/ coreutils 5.1.2).
(Attached are the two files 'dirdiff.tmp.1g' and 'dirdiff.tmp.3g'
in their original form)
Ad astra, Markus
dirdiff.tmp.1g
Description: Text document
dirdiff.tmp.3g
Description: Text document
- Possible bug in join (coreutils) 5.1.2 and 5.2.1,
Markus Ueberall <=