[Radiance-general] rcalc and newlines
Gregory J. Ward
gregoryjward at gmail.com
Tue Jan 25 18:43:09 CET 2005
Use the rcalc -l and -o option together. For example:
echo 17 | rcalc -l -o '${$1*2}'
will print out 34 without a newline.
-Greg
> From: Christopher Kings-Lynne <chriskl at familyhealth.com.au>
> Date: January 25, 2005 9:15:54 AM PST
>
> Hi,
>
> How do I get rcalc to NOT output a newline at the end of its output.
> I'm using rcalc to compute a single number, and the newline is
> annoying.
>
> If you can't get rcalc to do it, what is the command line voodoo
> required to strip it?
>
> Thanks,
>
> Chris
More information about the Radiance-general
mailing list