Thursday, March 20, 2014

How to make tables from multiple files

      pr -t -m /tmp/a /tmp/b

This will read a line from file 'a' and place it in the first column, followed by a line from file 'b' placed in the second column.

More files results in more columns. Be careful with long lines as individual columns may be truncated.



No comments:

Post a Comment