Hi,

2014-12-15 22:34 GMT+01:00 Huidae Cho <gras...@gmail.com>:
> Mine looks like this (bash shell):
>
> grass_ps(){
>         echo "G `g.gisenv LOCATION_NAME`/`g.gisenv MAPSET`"

btw, in trunk you can avoid calling `g.gisenv` twice

g.gisenv get=LOCATION_NAME,MAPSET sep='/'

Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.eu/mentors/landa
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to