13 |
|
| |
14 |
|
.B \-idN |
15 |
|
| |
16 |
+ |
.B \-iiN |
17 |
+ |
| |
18 |
|
.B \-iwN |
19 |
+ |
| |
20 |
+ |
.B \-ibN |
21 |
|
] |
22 |
|
input1 input2 .. |
23 |
|
.SH DESCRIPTION |
46 |
|
Similarly, the |
47 |
|
.I \-id |
48 |
|
and |
49 |
< |
.I \-iw |
49 |
> |
.I \-ii |
50 |
|
options may be used to indicate binary 64-bit doubles or integer words, |
51 |
|
respectively. |
52 |
< |
If an number is immediately follows any of these options, then it |
52 |
> |
The |
53 |
> |
.I \-iw |
54 |
> |
option specifies 2-byte short words, and the |
55 |
> |
.I \-ib |
56 |
> |
option specifies bytes. |
57 |
> |
If a number is immediately follows any of these options, then it |
58 |
|
indicates that multiple such values are expected for each record. |
59 |
|
For example, |
60 |
|
.I \-if3 |
72 |
|
.SH EXAMPLE |
73 |
|
To join files output1 and output2, separated by a comma: |
74 |
|
.IP "" .2i |
75 |
< |
rlam -t, output1 output2 |
75 |
> |
rlam \-t, output1 output2 |
76 |
|
.PP |
77 |
|
To join a file with line numbers (starting at 0) and its reverse: |
78 |
|
.IP "" .2i |
79 |
< |
cnt `wc -l < lam.c` | rlam - -t: lam.c -t\| '!tail -r lam.c' |
79 |
> |
cnt `wc \-l < lam.c` | rlam \- \-t: lam.c \-t\| '!tail \-r lam.c' |
80 |
|
.PP |
81 |
|
To join four data files, each having three doubles per record: |
82 |
|
.IP "" .2i |
83 |
< |
rlam -id3 file1.dbl file2.dbl file3.dbl file4.dbl > combined.dbl |
83 |
> |
rlam \-id3 file1.dbl file2.dbl file3.dbl file4.dbl > combined.dbl |
84 |
|
.SH AUTHOR |
85 |
|
Greg Ward |
86 |
|
.SH "SEE ALSO" |