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.3 by greg, Sun Sep 25 20:36:01 2005 UTC vs.
Revision 1.6 by greg, Fri Jun 18 01:12:57 2010 UTC

# Line 13 | Line 13 | rlam - laminate records from multiple files
13   |
14   .B \-idN
15   |
16 + .B \-iiN
17 + |
18   .B \-iwN
19 + |
20 + .B \-ibN
21   ]
22   input1 input2 ..
23   .SH DESCRIPTION
24   .I Rlam
25   simply joins records (or lines) from multiple inputs, separating them with
26 < the given separator string (TAB by default).
26 > the given string (TAB by default).
27   Different separators may be given for different files by specifying
28   additional
29   .I \-t
30   options in between each file name.
31 + Note that there is no space between this option and its argument.
32   If none of the input files uses an ASCII separator, then no end-of-line
33   character will be printed, either.
34   .PP
# Line 41 | Line 46 | option may be used to indicated binary IEEE 32-bit flo
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
# Line 54 | Line 64 | In the case of the
64   option, no number indicates one line per input record, and numbers
65   greater than zero indicate that many characters exactly per record.
66   For binary input formts, no number implies one value per record.
67 + For anything other than EOL-separated input, the default tab separator
68 + is reset to the empty string.
69   .PP
70   A hyphen ('-') by itself can be used to indicate the standard
71   input, and may appear multiple times.
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 -t 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"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines