Hi,
I think I found a bug in join. I'm using Fedora 7. Here is my example:
[EMAIL PROTECTED] Temp]$ cat test.left
1994-01-01,101
1994-01-02,102
1994-01-03,103
1994-01-04,104
1994-01-05,105
[EMAIL PROTECTED] Temp]$ cat test.mid
1994-01-03,203
1994-01-04,204
1994-01-05,205
[EMAIL PROTECTED] Temp]$ join -a1 -t, -e" " test.left test.mid
1994-01-01,101
1994-01-02,102
1994-01-03,103,203
1994-01-04,104,204
1994-01-05,105,205
[EMAIL PROTECTED] Temp]$ join -a1 -t, -o 1.1 1.2 2.2 -e" " test.left test.mid
1994-01-01,101,
1994-01-02,102,
1994-01-03,103,203
1994-01-04,104,204
1994-01-05,105,205
The difference between the two executions is the -o option. Even with
the -o option, I'm thinking the output should be the same. But the
first execution is missing commas at the end of the first two output
records.
The second execution has the results I'm looking for, but another file I
need to join has a hundred fields to be passed to output, hahaha.
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils