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

Comparing ray/doc/man/man1/rsplit.1 (file contents):
Revision 1.1 by greg, Fri Jul 5 00:20:57 2019 UTC vs.
Revision 1.4 by greg, Tue Jul 16 15:59:49 2019 UTC

# Line 15 | Line 15 | rsplit - splits standard input into multiple output fi
15   ][
16   .B \-oH
17   ][
18 + .B "\-x xres \-y yres"
19 + ][
20   .B \-oaN
21   |
22   .B \-ofN
# Line 41 | Line 43 | output1 [options] output2 ..
43   writes lines or fields from the standard input to one or more output
44   streams.
45   By default, fields are separated by a
46 < newline character, but the terminator can be changed using the
46 > newline character (i.e., input is distributed by lines),
47 > but the terminator can be changed using the
48   .I \-t
49   option.
50 < Different separators may be given for different fields by specifying
50 > Different terminators may be given for different fields by specifying
51   additional
52   .I \-t
53 < options in between each output.
53 > options between each output specification.
54   Note that there is no space between this option and its argument.
55 + If no character is specified, the default (newline) is used.
56   .PP
57   An output is either a file or a command.
58   If an output file exists, it will not be overwritten unless the
# Line 82 | Line 86 | indicates three floats per output record for the next
86   In the case of the
87   .I \-oa
88   option, no number writes one line or field per stream, and numbers
89 < greater than zero write multiple fields at a time to the same stream.
89 > greater than zero write multiple fields per record to the same stream.
90 > If the terminating character is set to something other than newline ('\\n'),
91 > a newline is added after each record (in addition to the terminator).
92   For binary output formts, no number implies one value per output.
93 < The default tab separator
88 < is set to the empty string for binary output streams.
93 > The terminator is not used for binary output streams.
94   .PP
95   These options may be interspersed with output specifications,
96   indicating different data to draw from the different files.
# Line 135 | Line 140 | may be used with the append mode ('-a').
140   .SH EXAMPLE
141   To alternate 5 lines between two output files:
142   .IP "" .2i
143 < rsplit -ia5 output1.txt output2.txt < input.txt
143 > rsplit -oa5 output1.txt output2.txt < input.txt
144   .PP
145   To send the first of each double precision triplet to one file, and the second
146   and third to a second file, stopping after 500 triplets:
147   .IP "" .2i
148 < rsplit -on 500 -id firstvals.dbl -id2 secondpairs.dbl < input.dbl
148 > rsplit -on 500 -od firstvals.dbl -od2 followingpairs.dbl < triplets.dbl
149   .PP
150   To convey material, color and distance information from rtrace to
151   separate files:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines