[GRASS5] Mac OS X Tcl fix and Startup Errors
glynn.clements at virgin.net
Sun Apr 13 20:40:44 EDT 2003
Jeshua Lacock wrote:
> >> These errors are being caused by:
> >> puts stdout "GISDBASE='$database'; export GISDBASE;"
> >> puts stdout "LOCATION_NAME='$location'; export LOCATION_NAME;"
> >> puts stdout "MAPSET='$mapset'; export MAPSET;"
> > Do you have any idea how is this code causing the above errors? I'm
> > not doubting that it is, but I can't see any possible mechanism.
> The semi-colons appear to be the culprit.
> Also. strangely, the line:
> puts stdout "exit"
> Generates the message:
> : command not foundtc/Init.sh: exit
> And yet, when I type in the shell "exit" <enter> everything works.
> Any ideas?
No; you could try playing around with eval, e.g.
eval `echo "exit"`
etc, but I'm not sure that it will achieve much (except, it may
confirm that the shell is broken).
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev