[GRASS-user] g.mlist: order of numbers

Martin Wegmann wegmann at biozentrum.uni-wuerzburg.de
Tue Jul 24 07:36:45 EDT 2007


On Monday 23 July 2007 17:33:10 Martin Landa wrote:
> r.series in=`g.mlist rast pat=name*  | awk -F. '{print $2,$1}' | sort
> -n | awk '{printf $2"."$1","}'` out=series method=average

works fine even when having 
test.001, test.002, ...., test.0010 
or
test.1, test.2, ...., test.10

thanks, Martin

BTW would it be possible to add such a sorting method to g.mlist natively? Or 
adding it the g.mlist/r.series man-pages?






More information about the grass-user mailing list