To print two files side by side we can use pr command. This can be used on Unix\Linux provided that package is installed.
Print two files side by side :
atoorpu@Linux01:[~/tmp] $ pr -m -t t1.txt t2.txt
abcd abcd2
efgh efgh
ijkl ijkl12
mnop mnop
ADDING SOME SPACE TO T1 IT LOOKS LIKE THIS:
atoorpu@Linux01:[~/tmp] $ pr -m -t t1.txt t2.txt
AB CD abcd2
EF GH efgh
ij kl
mnop ijkl12
mnop
reference for pr cmd : http://linux.about.com/library/cmd/blcmdl1_pr.htm
No comments:
Post a Comment