--- ray/doc/man/man1/rcalc.1 2004/01/01 19:31:45 1.5 +++ ray/doc/man/man1/rcalc.1 2006/12/23 17:27:45 1.7 @@ -1,4 +1,4 @@ -.\" RCSid "$Id: rcalc.1,v 1.5 2004/01/01 19:31:45 greg Exp $" +.\" RCSid "$Id: rcalc.1,v 1.7 2006/12/23 17:27:45 greg Exp $" .TH RCALC 1 4/6/99 RADIANCE .SH NAME rcalc - record calculator @@ -9,6 +9,8 @@ rcalc - record calculator ][ .B \-l ][ +.B \-p +][ .B \-n ][ .B \-w @@ -54,6 +56,11 @@ A special form of the option may be followed immediately by a 'd' or an 'f' and an optional count, which defaults to 1, indicating the number of double or float binary values to read per record on the input file. +If the input is byte-swapped, the +.I \-iD +or +.I \-iF +options may be substituted. If binary input is specified, no format string or file is needed. .PP A @@ -66,6 +73,24 @@ or .I \-of options do not require a count, as this will be determined by the number of output channels in the given expressions. +If byte-swapped output is desired, the +.I \-oD +or +.I \-oF +options may be substituted. +.PP +The +.I \-p +option specifies "passive mode," where characters that do not +match the input format are passed unaltered to the output. +This option has no effect unless +.I \-i +is also specified, and does not make much sense unless +.I \-o +is also given. +With both input and output formats, the passive mode can +effectively substitute information in the middle of a file +or stream without affecting the rest of the data. .PP The variable and function definitions in each .I \-f source