[Radiance-general] rcalc and tabs/spaces

Victor LRG rioboo at gmail.com
Tue Jun 6 07:02:59 PDT 2017


Dear all,

The man page for rcalc says "By default, tabs and spaces are ignored except
as field separators". I wonder if there is a way to overrule this default
behavior. For example:

echo 1,2,3 4,5 | rcalc -t, -e '$1=if($2-$1,$3,0)' gives '3' as result. Can
it be forced to give '3 4'?

In this case the space is not a field separator, but it causes the rest of
the field be missing from the ouput.

Many thanks,

Victor Lopez-Rioboo Gil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20170606/fddc7997/attachment.html>


More information about the Radiance-general mailing list