5 |
|
.SH SYNOPSIS |
6 |
|
.B rlam |
7 |
|
[ |
8 |
< |
.B \-tC |
8 |
> |
.B \-tS |
9 |
|
] |
10 |
|
input1 input2 .. |
11 |
|
.SH DESCRIPTION |
12 |
|
.I Rlam |
13 |
|
simply joins lines from multiple inputs, separating them with |
14 |
< |
the given tab character (TAB by default). |
14 |
> |
the given separator string (TAB by default). |
15 |
> |
Different separators may be given for different files by specifying |
16 |
> |
additional |
17 |
> |
.I \-t |
18 |
> |
options in between each file name. |
19 |
|
An input is either a stream or a command. |
20 |
|
Commands are given in quotes, and begin with an exclamantion point ('!'). |
21 |
|
If the inputs do not have the same number of lines, then |
31 |
|
.PP |
32 |
|
To join a file with line numbers (starting at 0) and its reverse: |
33 |
|
.IP "" .2i |
34 |
< |
cnt `wc -l < lam.c` | rlam - -t: lam.c -t\| '\!tail -r lam.c' |
34 |
> |
cnt `wc -l < lam.c` | rlam - -t: lam.c -t\| '!tail -r lam.c' |
35 |
|
.SH AUTHOR |
36 |
|
Greg Ward |
37 |
|
.SH "SEE ALSO" |