Merge lines of files.
Synopsis
paste [OPTION]... [FILE]...
Description
Writes lines consisting of the sequentially corresponding lines from each FILE, separated by TABs, to standard output. With no FILE, or when FILE is -, reads standard input.
Options
-d, --delimiters=LIST Reuse characters from LIST instead of TABs.
-s, --serial Paste one file at a time instead of in parallel.
--help Display help and exit.
Examples
$ paste file1 file2
Merge file1 and file2 side by side.
$ paste -d, file1 file2
Use a comma as the delimiter.
$ paste -s file1
Paste all lines of file1 onto one line.
$ paste - - < file
Paste pairs of lines from a single file.
See Also
column, join, cut