Still nothing, look:
[EMAIL PROTECTED]:~$ eval 'g.gisenv'
GRASS_GUI=tcltk
GISDBASE=/home/alobo/grass/
LOCATION_NAME=FBBVA
MAPSET=BENI1
[EMAIL PROTECTED]:~$ echo $MAPSET
[EMAIL PROTECTED]:~$
Agus
Martin Landa wrote:
Ciao,
2008/5/6 Agustin Lobo [EMAIL PROTECTED]:
I'm using grass 6.2.3 on
On Tue, 6 May 2008, Agustin Lobo wrote:
ok, thanks, it works fine,
but I do not understad it.
The reason for the confusion is the variables you refer to are *not* in
fact environment variables, but GRASS variables. GRASS variables are
accessed and set using the g.gisenv command. In general,
Paul Kelly wrote:
Why do we need the eval command?
You don't *need* it; it is a convenience to convert all the GRASS
variables into environment variables. IMHO I don't think it is a good
solution to access GRASS variables this way because:
a) it creates as many new environment