:49 PM
To: Robert Wolf
Cc: '[EMAIL PROTECTED]'
Subject: Re: there is a bug with UNIX command join
Robert Wolf wrote:
$ join -t \012 -v 2 j1 j2
j1 j2
The output should be only the lines in j2 that do not exist in j1.
For one thing I am not convinced that the \012 will be doing what you
Robert Wolf wrote:
Thanks for replying so quickly.
Thanks for submitting your bug report.
I tried
$ join -t \012 -v 2 j1 j2
$ join -t '\012' -v 2 j1 j2
$ join -t \012 -v 2 j1 j2
All three versions are doing the same wrong thing, they are including the
'eee' line, which is the last
$ join -t \012 -v 2 j1 j2
j1 j2
The output should be only the lines in j2 that do not exist in j1.
Essentially I have two sorted files, and I just want the lines from the 2nd
file that are not in the 1st file.
$ join --version
join (textutils) 2.0.21
Written by Mike Haertel.
Copyright (C)
Robert Wolf wrote:
$ join -t \012 -v 2 j1 j2
j1 j2
The output should be only the lines in j2 that do not exist in j1.
For one thing I am not convinced that the \012 will be doing what you
think it will be doing here. Usually you need to handle quoted
characters like that specially with