[GRASS-dev] g.list -a

Martin Landa landa.martin at gmail.com
Mon Dec 25 04:59:36 EST 2006


Hi Glynn,

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!

Best, Martin

PS: The external lister do only one thing -- calls G_list_element ()
with a give pointer to lister function.

PS1: Fixed patch attached.

2006/12/24, Glynn Clements <glynn at gclements.plus.com>:
>
> Martin Landa wrote:
>
> > I am trying to implement the wish [1]. 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.
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>


-- 
Martin Landa <landa.martin at gmail.com> * http://gama.fsv.cvut.cz/~landa *
-------------- next part --------------
A non-text attachment was scrubbed...
Name: g_list_a-1.tar.gz
Type: application/x-gzip
Size: 2717 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20061225/cc290896/g_list_a-1.tar.gz


More information about the grass-dev mailing list