Sunday, March 15, 2009

Merging two files line by line on unix/linux

Source
for eample
file1:
2 3 0
6 2 0
2 3 1
5 3 1
6 9 1file2
2 2 2
2 2 2
paste -d " " file1 file2 >"outputfile1"
outputfile1
2 3 0 2 2 2
6 2 0 2 2 2
2 3 1
5 3 1
6 9 1

No comments:

Blog Archive