paste writes to standard output lines consisting of sequentially corresponding lines of each given file, separated by a TAB character. Standard input is used for a file name of ‘-’ or if no input files are given.
For example:
$ cat num2
1
2
$ cat let3
a
b
c
$ paste num2 let3
1 a
2 b
c
Synopsis:
paste [option]... [file]...
The program accepts the following options. Also see Common options.
$ paste -s num2 let3
1 2
a b c
$ paste -d '%_' num2 let3 num2
1%a_1
2%b_2
%c_
An exit status of zero indicates success, and a nonzero value indicates failure.