Input file1:
1
5
6
Input file2:
4.5
6.7
9.9
Output:
1 4.5
5 6.7
6 9.9
I tried join but it doesn’t work here as there’s no common field. Does anyone have ideas about this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think you’re looking for the
pastecommand rather thanjoin, as per the following transcript:Consult your friendly neighbourhood
manpage (orinfopage) for more details, such as using-dto select delimiters other than TAB, or-sto process the files sequentially rather than in parallel.