paste
commandThe paste
command merges each file by columns in a column-by-column manner.
-d, --delimiters=[LIST]
: Replace TAB
characters with the specified delimiter characters.-s, --serial
: Paste one file at a time instead of in parallel.-z, --zero-terminated
: The line delimiter is NUL
instead of newline.--help
: Display this help and exit.--version
: Output version information and exit.Merge the /tmp/file1.txt
and /tmp/file2.txt
files by columns.
Merge the /tmp/file1.txt
and /tmp/file2.txt
files by columns and append to /tmp/file3.txt
.
Merge the /tmp/file1.txt
and /tmp/file2.txt
files by columns and specify the delimiter as -
.