LAUNCHING GRASS FROM A SCRIPT?

Bill Brown brown at gis.uiuc.edu
Tue Jan 16 07:00:00 EST 1996


Darrell McCauley put a new grass4.1 & GIS.sh script on the ftp
site moon.cecer.army.mil  grass/incoming/new_startup.tar.gz
which allows command line setting of location, mapset, database
and also quick exiting.  You can pipe the grass script to it.
I needed to change the grass4.1 script to pass the command line
args to GIS.sh after installing his files:

diff /usr/local/bin/grass4.2 /usr/local/bin/fgrass4.2
4c4
< exec $GISBASE/etc/GIS.sh
---
> exec $GISBASE/etc/GIS.sh $*

- Bill
brown at gis.uiuc.edu






More information about the grass-user mailing list