Paste

From LinuxSwords Wiki

Jump to: navigation, search

= merging colums from several files

Assume you have three files called column1.txt, column2.txt, column3.txt. The command is

paste column1.txt column2.txt column3.txt' > allcolums.txt

No you have merged all three columns which are found in allcolumns.txt.
The order of the columns is the same as you specified on the cmdline.

Personal tools