For some reason my output of join is strange and scrambled; here is the command I use:
join -t, -j 1 -o1.1,2.2,1.2 f1 f2
Where f1:
1,87
and f2:
1,337
The output is:
,8737
and I am at loss as to why the output of join is not as expected. I have checked my locale already, with no luck.
Any ideas?
join -t, -j 1 -o1.1,2.2,1.2 f1 f2 | od -c
please. – muru Jul 5 '18 at 6:15od
command ! Your intuition was right, it is DOS endings – Tiphaine Jul 5 '18 at 6:24