linux - joining text file with cat and bash -
so, have 2 text file containing
title1 title2 stored in title.txt
and
data1 data2 stored in data.txt
and i'd join cat, gonna this
title1 | data1 title2 | data2 but, regular cat title.txt data.txt > out.txt turns out.txt file into
title1 title2 data1 data2 i need on using cat file can this:
title1 | data1 title2 | data2 any answer appreciated
thanks
try saying:
paste -d'|' title.txt data.txt for input, should return:
title1|data1 title2|data2
Comments
Post a Comment