Re: Need Help regarding tcl
Hi,
I had that problem before & could only think of 1 solution: pipe STDOUT to file.
So I created a wrapper file which runs/executes the program I've created.
Since I wrote in shell, I used:
. $DATA/SetupProj |tee SMD_DS.log$(date +%R.%d%b%Y)
where my program code was inside the 'SetupProj' file.
Now, when I run this wrapper file, my outputs are saved inside the generated SMD_DS.log...... file.
Of course, there might be a better solution out there.
Best regards.