Entering edit mode
10.2 years ago
prt-hntr
▴
10
I have two files like file1.dat and file2.dat I would like to combine the file without changing the format of file1 and file2. file1(2space)file2.
for example File1:
1 2 3 4 5
6 7 8 8 9
File2:
8 6 4258
8 5 9927
The result i want is
1 2 3 4 5(2space)8 6 4258
6 7 8 8 9(2space)8 5 9927
I have tried with paste -d ' ' file1 and file2 but got only one space between the file. I have 5 column and thousand of rows in files.
thank you in advance
PRT