paste man page

paste — merge lines of files


paste -s {{file}}

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

paste {{file1}} {{file2}}

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

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


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


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
display this help and exit
output version information and exit


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).

Explore man page connections for paste(1).

GNU coreutils 8.25 October 2016