[Radiance-general] rcalc and newlines
Giulio Antonutto
Giulio.Antonutto at arup.com
Tue Jan 25 18:33:59 CET 2005
Christopher,
I would do this way by means of 'echo -n' :
---------------------------
#!/bin/csh -f
set a = `rcalc .....`
echo -n $a > output
----------------------------
Not sure it's what you are looking for..
BTW I hope it helps somehow...
cheers,
giulio
-----Original Message-----
From: radiance-general-bounces at radiance-online.org
[mailto:radiance-general-bounces at radiance-online.org]On Behalf Of
Christopher Kings-Lynne
Sent: 25 January 2005 17:16
To: radiance-general
Subject: [Radiance-general] rcalc and newlines
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
_______________________________________________
Radiance-general mailing list
Radiance-general at radiance-online.org
http://www.radiance-online.org/mailman/listinfo/radiance-general
___________________________________________________________________
Electronic mail messages entering and leaving Arup business
systems are scanned for acceptability of content and viruses.
More information about the Radiance-general
mailing list