Hi
I googled but could not find a solution:
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?
Thanks
Rainer
--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)
Centre of Excellence for Invasion Biology
Faculty of Science
Natural Sciences Building
Private Bag X1
University of Stellenbosch
Matieland 7602
South Africa
g.mlist type=rast
2008/8/12 Rainer M Krug <r.m.krug@gmail.com>:
Hi
I googled but could not find a solution:
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?
Thanks
Rainer
--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)
Centre of Excellence for Invasion Biology
Faculty of Science
Natural Sciences Building
Private Bag X1
University of Stellenbosch
Matieland 7602
South Africa
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
Hi,
2008/8/12 Rainer M Krug <r.m.krug@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 *
On 8/12/08, Martin Landa <landa.martin@gmail.com> wrote:
Hi,
2008/8/12 Rainer M Krug <r.m.krug@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
Thanks a lot
Rainer
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *
--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)
Centre of Excellence for Invasion Biology
Faculty of Science
Natural Sciences Building
Private Bag X1
University of Stellenbosch
Matieland 7602
South Africa