--- ray/doc/man/man1/rcalc.1 2004/06/09 16:00:12 1.6 +++ ray/doc/man/man1/rcalc.1 2007/09/04 17:36:41 1.8 @@ -1,4 +1,4 @@ -.\" RCSid "$Id: rcalc.1,v 1.6 2004/06/09 16:00:12 greg Exp $" +.\" RCSid "$Id: rcalc.1,v 1.8 2007/09/04 17:36:41 greg Exp $" .TH RCALC 1 4/6/99 RADIANCE .SH NAME rcalc - record calculator @@ -56,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 @@ -68,6 +73,11 @@ 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 @@ -283,12 +293,12 @@ trigonometric functions. inverse trigonometric functions. .TP .BR "atan2(y, x)" -inverse tangent of y/x (range -pi to pi). +inverse tangent of y/x (range \-pi to pi). .SH EXAMPLE To print the square root of column two in column one, and column one times column three in column two: .IP "" .2i -rcalc -e '$1=sqrt($2);$2=$1*$3' inputfile > outputfile +rcalc \-e '$1=sqrt($2);$2=$1*$3' inputfile > outputfile .SH AUTHOR Greg Ward .SH BUGS