I am a novice programmer. I am using unix's join
command to self-join couple long files together.
join -j30 test test2
col1 col2 ... col30 col1 col2 ... col30
A B ZZZ ^M A B ZZZ
I am getting this ^M
character in my output.
Why is it there? and How would I remove it?
EDIT: Below is a screenshot of my part of my output
join
and not that one of the input files hasCR
in it?CR
(assuming that means Carriage Return; excuse my lack of knowledge)? There are\n
characters in the original file