coreutils: paste invocation

1 
1 8.2 ‘paste’: Merge lines of files
1 =================================
1 
1 ‘paste’ writes to standard output lines consisting of sequentially
1 corresponding lines of each given file, separated by a TAB character.
1 Standard input is used for a file name of ‘-’ or if no input files are
1 given.
1 
1    Synopsis:
1 
1      paste [OPTION]... [FILE]...
1 
1    For example, with:
1      $ cat num2
1      1
1      2
1      $ cat let3
1      a
1      b
1      c
1 
1    Take lines sequentially from each file:
1      $ paste num2 let3
1      1       a
1      2       b
1              c
1 
1    Duplicate lines from a file:
1      $ paste num2 let3 num2
1      1       a      1
1      2       b      2
1              c
1 
1    Intermix lines from stdin:
1      $ paste - let3 - < num2
1      1       a      2
1              b
1              c
1 
1    Join consecutive lines with a space:
1      $ seq 4 | paste -d ' ' - -
1      1 2
1      3 4
1 
11    The program accepts the following options.  Also see ⇒Common
 options.
1 
1 ‘-s’
1 ‘--serial’
1      Paste the lines of one file at a time rather than one line from
1      each file.  Using the above example data:
1 
1           $ paste -s num2 let3
1           1       2
1           a       b       c
1 
1 ‘-d DELIM-LIST’
1 ‘--delimiters=DELIM-LIST’
1      Consecutively use the characters in DELIM-LIST instead of TAB to
1      separate merged lines.  When DELIM-LIST is exhausted, start again
1      at its beginning.  Using the above example data:
1 
1           $ paste -d '%_' num2 let3 num2
1           1%a_1
1           2%b_2
1           %c_
1 
1 ‘-z’
1 ‘--zero-terminated’
1      Delimit items with a zero byte rather than a newline (ASCII LF).
1      I.e., treat input as items separated by ASCII NUL and terminate
1      output items with ASCII NUL. This option can be useful in
1      conjunction with ‘perl -0’ or ‘find -print0’ and ‘xargs -0’ which
1      do the same in order to reliably handle arbitrary file names (even
1      those containing blanks or other special characters).
1 
1    An exit status of zero indicates success, and a nonzero value
1 indicates failure.
1