Albert Saribekyan.
Dear all!! I wrote a script for r.example module(GRASS-6.4) here is it: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #!/bin/bash GISBASE=/localuser/soft/grass-6.4.2RC2/dist. export GISBASE PATH=$PATH:$GISBASE/bin:$GISBASE/scripts export PATH if [ -z "$LD_LIBRARY_PATH" ] then LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GISBASE/lib else LD_LIBRARY_PATH=$GISBASE/lib fi export LD_LIBRARY_PATH GIS_LOCK=$$ THE_GISDBASE="/localuser/soft/grassdataalb" THE_LOCATION="example" THE_MAPSET="PERMANENT" THE_GRASSRC="/tmp/grassrc.$$" echo "GISDBASE: $THE_GISDBASE LOCATION_NAME: $THE_LOCATION MAPSET: $THE_MAPSET " > "$THE_GRASSRC" export GISRC="$THE_GRASSRC" /localuser/soft/grass-6.4.2RC2/dist./bin/r.example rm "$THE_GRASSRC" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ end when I run it there is a following error` [albert.saribekyan@ce ~]$ ./script ERROR: G_getenv(): Variable GRASS_GUI not set regards, Albert. _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
