[GRASS-dev] script output for g.list

Michael Barton michael.barton at asu.edu
Mon Sep 3 00:26:12 EDT 2007


Awhile ago, I think g.mlist output was changed so that it sent out a single
list of maps or other GIS elements rather than a multicolumn list. Is there
a way to add a flag to g.list so that it can produce output in the same way?

As it is, the output of g.list cannot easily be parsed within a script
because of it's multicolumn output. If the output could be a nice, clean
single list, it *would* be parsable. Within a script, g.list is preferable
over g.mlist for finding all relevant files in a mapset because it seems
considerably faster.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20070902/f8975364/attachment.html


More information about the grass-dev mailing list