paste man page

paste — merge lines of files

TL;DR

paste -s {{file}}

paste -s -d {{delimiter}} {{file}}

paste {{file1}} {{file2}}

paste -d {{delimiter}} {{file1}} {{file2}}

paste -d '\n' {{file1}} {{file2}}

Synopsis

paste [OPTION]... [FILE]...

Description

Write lines consisting of the sequentially corresponding lines from each FILE, separated by TABs, to standard output.

With no FILE, or when FILE is -, read standard input.

Mandatory arguments to long options are mandatory for short options too.

-d, --delimiters=LIST
reuse characters from LIST instead of TABs
-s, --serial
paste one file at a time instead of in parallel
-z, --zero-terminated
line delimiter is NUL, not newline
--help
display this help and exit
--version
output version information and exit

Author

Written by David M. Ihnat and David MacKenzie.

Reporting Bugs

GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
Report paste translation bugs to <http://translationproject.org/team/>

See Also

Full documentation at: <http://www.gnu.org/software/coreutils/p…>
or available locally via: info '(coreutils) paste invocation'

Referenced By

colrm(1), column(1), ksh(1).

January 2016 GNU coreutils 8.25 User Commands