rcalc output file format

Hi,

Here is the rcalc cmd line I use:
rcalc -e "$1=$1;$2=$2;$3=$3;$4=(0.265*$7+0.67*$8+0.065*$9)*179/10000"
numeric/plan_de_travail.irr>numeric/plan_de_travail.flj

I would like to have my output file numeric fields separated by another
character than tab. How is it possible?

Thanks.

Cordialement,

···

----------
Valère Paupelin-Huchard
Iosis Concept // ingénieur Elioth

<http://www.iosigroup.fr/> www.elioth.fr <http://www.elioth.fr/>
façade / structure / environnement / r&d

Iosis Concept // Elioth
4, rue Dolorès Ibarruri
TSA 80006
F 93188 Montreuil Cedex
t (+33) 1.78.42.73.91
f (+33) 1.78.42.73.95

Hi Valère,

You can use the -o option to specify output format. For example to use a double colon as a separator:
rcalc -e 'v1=$1;v2=$2;v3=$3;v4=(0.265*$7+0.67*$8+0.065*$9)*179/10000' -o '${v1}::${v2}::${v3}::${v4}' numeric/plan_de_travail.irr>numeric/plan_de_travail.flj

you can also put the format string in a file and use -o to specify the file like so:
rcalc -e 'v1=$1;v2=$2;v3=$3;v4=(0.265*$7+0.67*$8+0.065*$9)*179/10000' -o output.fmt numeric/plan_de_travail.irr>numeric/plan_de_travail.flj

Best,
Andy

···

On Aug 13, 2010, at 11:02 AM, PAUPELIN-HUCHARD Valere wrote:

Hi,

Here is the rcalc cmd line I use:
rcalc -e "$1=$1;$2=$2;$3=$3;$4=(0.265*$7+0.67*$8+0.065*$9)*179/10000" numeric/plan_de_travail.irr>numeric/plan_de_travail.flj

I would like to have my output file numeric fields separated by another character than tab. How is it possible?

Thanks.

Cordialement,
----------
Valère Paupelin-Huchard
Iosis Concept // ingénieur Elioth

www.elioth.fr
façade / structure / environnement / r&d

Iosis Concept // Elioth
4, rue Dolorès Ibarruri
TSA 80006
F 93188 Montreuil Cedex
t (+33) 1.78.42.73.91
f (+33) 1.78.42.73.95

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general