paste

Joins corresponding lines from files

paste [option] [file-list]

The paste utility reads lines from the file-list and joins corresponding lines in its output. By default output lines are separated by a TAB character.

Arguments

The file-list is a list of ordinary files. When you omit file-list, paste reads from standard input.

Options

--delimiter=dlist

-d dlist The dlist is a list of characters to be used to separate output lines. If dlist contains a single character, paste uses that character instead of the default TAB character to separate lines of output. If dlist contains more than one character, the characters are used in turn to separate output lines and are then reused from the beginning of the list as necessary.

Notes

A common ...

Get A Practical Guide to Red Hat® Linux® 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.