Thursday, May 14, 2009

Combine two files line by line

file1
-----
a
b
c

file2
-----
1
2
3

Output
------
a 1
b 2
c 3

Use this: paste -d"\0" file1 file2 > Output

From: Here

No comments: