[GRASS-SVN] r36549 - grass/branches/releasebranch_6_4/scripts/r.fillnulls

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Mar 31 17:17:13 EDT 2009


Author: neteler
Date: 2009-03-31 17:17:13 -0400 (Tue, 31 Mar 2009)
New Revision: 36549

Modified:
   grass/branches/releasebranch_6_4/scripts/r.fillnulls/r.fillnulls
Log:
Don't use locale dependent output for parsing

Modified: grass/branches/releasebranch_6_4/scripts/r.fillnulls/r.fillnulls
===================================================================
--- grass/branches/releasebranch_6_4/scripts/r.fillnulls/r.fillnulls	2009-03-31 21:16:48 UTC (rev 36548)
+++ grass/branches/releasebranch_6_4/scripts/r.fillnulls/r.fillnulls	2009-03-31 21:17:13 UTC (rev 36549)
@@ -177,7 +177,7 @@
 fi
 
 #count number of points to control segmax parameter for interpolation:
-POINTSNUMBER="`v.info map=${VECTTMP} | grep 'Number of points' | awk '{print $5}'`"
+POINTSNUMBER="`v.info -t map=${VECTTMP} | grep points | cut -d'=' -f2`"
 
 g.message "Interpolating $POINTSNUMBER points"
 



More information about the grass-commit mailing list