[GRASS-user] g.mlist updated
grass4u at gmail.com
Sat Jun 28 05:06:03 EDT 2008
I've updated g.mlist to use sed instead of grep. Sed and grep (not grep
-E) both support basic regular expressions.
I've made a speed comparison between the new and previous versions:
$ for i in `seq 1 2000` ; do r.mapcalc tmp$i=1; done
$ time g.mlist.old rast pat="tmp*" |wc -l
$ time g.mlist rast pat="tmp*" |wc -l
The new version is about 23 times faster than the previous one. Please
test it out.
More information about the grass-user