GNU Info

Info Node: (textutils.info)paste invocation

(textutils.info)paste invocation


Next: join invocation Prev: cut invocation Up: Operating on fields within a line
Enter node , (file) or (file)node

`paste': Merge lines of files
=============================

   `paste' writes to standard output lines consisting of sequentially
corresponding lines of each given file, separated by a TAB character.
Standard input is used for a file name of `-' or if no input files are
given.

   Synopsis:

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

   The program accepts the following options.  Also see Note: Common
options.

`-s'
`--serial'
     Paste the lines of one file at a time rather than one line from
     each file.

`-d DELIM-LIST'
`--delimiters DELIM-LIST'
     Consecutively use the characters in DELIM-LIST instead of TAB to
     separate merged lines.  When DELIM-LIST is exhausted, start again
     at its beginning.

`-f'
`--first-eof'
     Terminate after encountering the first end of file.  Before each
     output line is constructed, every file is checked to make sure
     that it is not empty.  If the standard input appears multiple
     times on the command line, then it is checked only once.  This
     option only applies when `-s' is not in use.


automatically generated by info2www version 1.2.2.9