combine files into columns to make table in linux 01-10-2014d2202

2014-01-11

combine files into columns to make table in linux 01-10-2014d2202

example command
paste file1 file2 | column -s $'\t' -t
^note that the result from this command looks nice in a text editor, but it doesn't look good when imported into a spreadsheet program like open calc. In order to get around this problem, make sure there are not any spaces in the text within a column. Then when importing the file into open calc select to merge delimiters.
from
http://unix.stackexchange.com/questions/16443/combine-text-files-column-wise