PASTE(1) | General Commands Manual | PASTE(1) |
paste
—
paste |
[-s ] [-d
list] file ... |
paste
utility concatenates the corresponding lines
of the given input files, replacing all but the last file's newline characters
with a single tab character, and writes the resulting lines to standard
output. If end-of-file is reached on an input file while other input files
still contain data, the file is treated as if it were an endless source of
empty lines.
The options are as follows:
-d
listpaste
begins selecting characters from the
beginning of list again.
The following special characters can also be used in list:
\n
\t
\\
\0
Any other character preceded by a backslash is equivalent to the character itself.
-s
If
‘
’ is
specified for one or more of the input files, the standard input is used;
standard input is read one line at a time, circularly, for each instance of
‘-
’.-
paste
utility exits 0 on success,
and >0 if an error occurs.
paste
utility is expected to be
IEEE Std 1003.2 (“POSIX.2”) compatible.
June 6, 1993 | NetBSD 9.4 |