RLAM(1)

NAME
rlam - laminate lines (records) from multiple files

SYNOPSIS
rlam [ -tC ] input1 input2 ..

DESCRIPTION
Rlam simply joins lines from multiple inputs, separating them with the given tab character (TAB by default). An input is either a stream or a command. Commands are given in quotes, and begin with an exclamantion point ('!'). If the inputs do not have the same number of lines, then shorter files will stop contributing to the output as they run out.

A hyphen ('-') by itself can be used to indicate the standard input.

EXAMPLE
To join files output1 and output2, separated by a comma:

    rlam -t, output1 output2

To join a file with line numbers (starting at 0) and its reverse:

    cnt `wc -l < lam.c` | rlam - -t: lam.c -t 'tail -r lam.c'

AUTHOR
Greg Ward

SEE ALSO
cnt(1), neaten(1), rcalc(1), tabfunc(1), total(1)