| paste |
|---|
paste [ -d[list] ] [-]file_list
paste -s [ -d[list ] file_list
|
|---|
|
| - |
|---|
| The standard input. |
|---|
| Causes paste to read one line from the standard input. |
|---|
| -dlist |
|---|
| Delimiter. |
|---|
| If not specified, a tab character separates all columns. |
|---|
| The list is zero or more characters used for output delimiters, replacing the default tab character. |
| The list must follow immediately after the -d option. |
| If list consists of multiple characters, paste uses the first character to separate columns one and two, the second character between columns two and three, and so on. |
| If the list is completely used and more columns exist, then the list is reused from the beginning. |
| Thus it is a circular delimiter list. |
|---|
| The list may contain any of the following standard C escape sequences: |
| \n | A newline
| \t
| A tab
| \\
| A backslash;
| \0
| No character at all.
| Same as -d without a list. But may be used in multi- character list. Does not actually place a character on the output. |
|---|
| -s |
|---|
| Serial output. |
|---|
|
Allows you to combine all lines
of each file into one line of output.
The -d option may be used to change the output delimiter. The last character of output is always a new-line. |
|
| file_list | One or more files read and displayed in the appropriate format. |
|---|