G. Allegri wrote:

> exec `g.region rast="$RAST"`

This is bogus on two counts. First, g.region doesn't output a shell
command, so the use of exec and backticks makes no sense. Second,
shell scripts shouldn't change the current region; they should create
a temporary region with "g.region ... save=..." and use WIND_OVERRIDE.

-- 
Glynn Clements <[EMAIL PROTECTED]>
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to