unix - combine two files -- one after another -
say, have 2 files: file1:
0 0 -3.44785 -2.15069 5.70183 17.8715 and file2:
31.9812 50.5646 72.361 96.8705 119.893 144.409 two combine them side side, use :
paste -d" " file1 file2 or use awk command such thing.
if want combine these 2 files 1 after another, should write? know how using "cat". have tried different things modify "paste" command don't give desired output. please help? thanks.
normally use cat file1 file2, like:
awk '{print $0}' file1 file2 or
awk '1' file1 file2 (note: '1' the same thing print)
Comments
Post a Comment