Live Chat!

Aligning contents of several files into columns

* * * * ½ 2 votos

November 6th, 2006 durian

Let’s say you have 2 files with the following contents respectively:
File A:
a
b
c
File B:
1
2
3
You can join the contents of these 2 files into 2 properly aligned columns with this command:
paste A B
The output of the command will be as such:
a 1
b [...]

Posted in Text Manipulation, paste | Hits: 2886 | No Comments »