[GRASS-dev] Re: [GRASS-user] g.xlist/g.xremove addons (C version
of g.mlist/g.mremove)
Markus Neteler
neteler at osgeo.org
Sun Sep 7 04:28:36 EDT 2008
On Fri, Sep 5, 2008 at 1:18 AM, Glynn Clements <glynn at gclements.plus.com> wrote:
> Markus Neteler wrote:
>> >> > > If these changes to
>> >> > > libgis (ls.c, join.c, gisdefs.h, POSIX regex) are acceptable,
>> >> > > g.m?(list|remove) might be substituted with these modules (?).
>> >> >
>> >> > The existing scripts cannot be removed unless the C versions can be
>> >> > made to work on all platforms (I daresay there's a regex library for
>> >> > Windows, but we still need configure tests, etc).
>> >>
>> >> What is the current state? Since I have to deal with thousands of
>> >> maps in a mapset frequently, I am interested to get the g.mlist
>> >> and g.mremove scripts replaced with a C version.
>> >
>> > Well, first someone needs to find a regex library for Windows. If it's
>> > needed for g.mlist etc, it will effectively become a mandatory
>> > dependency, so if only source is available, we'll need to accept
>> > responsibility for providing a binary package.
>>
>> Voila:
>> http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=73286
>> "Release Name: Current Release: mingw-regex-2.5.1
>>
>> Notes:
>> This is a port of the GNU regex components from glibc,
>> ported for use in native Win32 applications by Tor Lillqvist.
>
> I have added g.mlist and g.mremove to SVN trunk, along with
> G_set_ls_filter() and the configure checks for the regex functions.
My hope was to backport the fast version of g.m|xlist and g.m|xremove
to GRASS 6.4.svn (where I need it).
Which submissions are relevant? I see
33265: Add G_set_ls_filter()
33266: Add g.mlist, g.mremove
33268: Add configure checks for regex functions; Enable g.mlist, g.mremove
33269: Move element_list to lib/gis, for earlier availability
33305: Use basic REs by default; add -e for extended REs
?
Markus
More information about the grass-dev
mailing list