confused on join(1)
Zhang Weiwu wrote:
> Dear all
>
> I am learning to use join to manage data processing easier. I got two
> data files, they should join on field No. 9.
>
> But such simple join doesn't work. The output of join is 0 bytes. Feel
> surprised I size down both file size to contain only two records. Still
> fail.
>
> $ join -t $' ' -j 8 a b
> [no output]
>
> Expect:
> [output 2 rows]
>
> I attached my two test case, hope someone can guide me through this. It
> maybe very simple case but I had scratched my head half an hour now.
>
Looks like I simply didn't properly format the data, there perhaps are
un-necessary trailing spaces at the end of certain fields. Should be my
fault.
--
gentoo-user@lists.gentoo.org mailing list
|