[GRASS-user] Using "g.list type=rast" output in script?

Martin Landa landa.martin at gmail.com
Tue Aug 12 05:24:41 EDT 2008


Hi,

2008/8/12 Rainer M Krug <r.m.krug at gmail.com>:
> I want to use the result from
> g.list type=rast
> in a script, but the two column output is difficult to parse. Is there
> a way of obtaining a one-map-per-line output?

g.mlist type=rast

or

g.mlist type=rast -m

to obtain fully qualified map name

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *


More information about the grass-user mailing list