[GRASS-user] Envtl variables

Agustin Lobo Agustin.Lobo at ija.csic.es
Tue May 6 16:13:12 EDT 2008


ok, thanks, it works fine,
but I do not understad it.
Why do we need the eval command?
eval is not mentioned in
http://grass.itc.it/grass62/manuals/html62_user/variables.html

Also, at the beginning of the script
that you mentioned,
$GISDBASE is used not having
called eval `g.gisenv`, why?

Agus

Martin Landa wrote:
> Hi,
> 
> 2008/5/6 Agustin Lobo <Agustin.Lobo at ija.csic.es>:
>>  alobo at alobo-laptop:~$ eval 'g.gisenv'
> 
> should be
> 
> eval `g.gisenv`
> 
> not
> 
> eval 'g.gisenv'
> 
> Martin
> 
>>  GRASS_GUI=tcltk
>>  GISDBASE=/home/alobo/grass/
>>  LOCATION_NAME=FBBVA
>>  MAPSET=BENI1
>>  alobo at alobo-laptop:~$ echo $MAPSET
> 

-- 
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster


More information about the grass-user mailing list