ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/rlam.1
(Generate patch)

Comparing ray/doc/man/man1/rlam.1 (file contents):
Revision 1.2 by greg, Mon Jun 13 22:40:46 2005 UTC vs.
Revision 1.3 by greg, Sun Sep 25 20:36:01 2005 UTC

# Line 1 | Line 1
1   .\" RCSid "$Id$"
2   .TH RLAM 1 7/8/97 RADIANCE
3   .SH NAME
4 < rlam - laminate lines (records) from multiple files
4 > rlam - laminate records from multiple files
5   .SH SYNOPSIS
6   .B rlam
7   [
8   .B \-tS
9 + ][
10 + .B \-iaN
11 + |
12 + .B \-ifN
13 + |
14 + .B \-idN
15 + |
16 + .B \-iwN
17   ]
18   input1 input2 ..
19   .SH DESCRIPTION
20   .I Rlam
21 < simply joins lines from multiple inputs, separating them with
21 > simply joins records (or lines) from multiple inputs, separating them with
22   the given separator string (TAB by default).
23   Different separators may be given for different files by specifying
24   additional
25   .I \-t
26   options in between each file name.
27 + If none of the input files uses an ASCII separator, then no end-of-line
28 + character will be printed, either.
29 + .PP
30   An input is either a stream or a command.
31   Commands are given in quotes, and begin with an exclamantion point ('!').
32   If the inputs do not have the same number of lines, then
33   shorter files will stop contributing to the output as they
34   run out.
35   .PP
36 + The
37 + .I \-ia
38 + option may be used to specify ASCII input (the default), or the
39 + .I \-if
40 + option may be used to indicated binary IEEE 32-bit floats on input.
41 + Similarly, the
42 + .I \-id
43 + and
44 + .I \-iw
45 + options may be used to indicate binary 64-bit doubles or integer words,
46 + respectively.
47 + If an number is immediately follows any of these options, then it
48 + indicates that multiple such values are expected for each record.
49 + For example,
50 + .I \-if3
51 + indicates three floats per input record for the next named input.
52 + In the case of the
53 + .I \-ia
54 + option, no number indicates one line per input record, and numbers
55 + greater than zero indicate that many characters exactly per record.
56 + For binary input formts, no number implies one value per record.
57 + .PP
58   A hyphen ('-') by itself can be used to indicate the standard
59 < input.
59 > input, and may appear multiple times.
60   .SH EXAMPLE
61   To join files output1 and output2, separated by a comma:
62   .IP "" .2i
# Line 32 | Line 65 | rlam -t, output1 output2
65   To join a file with line numbers (starting at 0) and its reverse:
66   .IP "" .2i
67   cnt `wc -l < lam.c` | rlam - -t: lam.c -t\| '!tail -r lam.c'
68 + .PP
69 + To join four data files, each having three doubles per record:
70 + .IP "" .2i
71 + rlam -id3 -t file1.dbl file2.dbl file3.dbl file4.dbl > combined.dbl
72   .SH AUTHOR
73   Greg Ward
74   .SH "SEE ALSO"
75 < cnt(1), neaten(1), rcalc(1), tabfunc(1), total(1)
75 > cnt(1), histo(1), neaten(1), rcalc(1), tabfunc(1), total(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines