[GRASS-dev] g.list -a
glynn at gclements.plus.com
Wed Dec 27 01:27:41 CET 2006
Martin Landa wrote:
> > > I am trying to implement the wish . I found a strange construction
> > > in g.list module. The -f flag (full listing) calls the external
> > > program $GISBASE/etc/lister/[cell|vector]. These little programs are
> > > called only in g.list -f (I think).
> > >
> > > I rewrote g.list without calling any external program -- i.e. I moved
> > > functions from lister directory to lib/lister.c. If there are no
> > > serious objections I will commit it to CVS.
> > Don't remove the existing functionality; add a new switch for using
> > your built-in lister.
> this patch does not remove any functionality (AFAIK). The only change
> is: the functionality of lister (programs) is moved to lib/lister.c. I
> don't see any reason why to have this functionality (the -f flag)
> outside of the g.list (/etc/lister/[cell|vector]). Maybe there is a
> particular reason for this construction, please let me know. Thanks!
The user can install lister programs for other types and/or replace
The point of -f isn't so much to provide specific additional
functionality, but to allow the handling to be deferred to an external
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev