[GRASS-SVN] r31305 - grass/branches/develbranch_6/scripts/v.rast.stats

svn_grass at osgeo.org svn_grass at osgeo.org
Fri May 9 23:28:57 EDT 2008


Author: hamish
Date: 2008-05-09 23:28:57 -0400 (Fri, 09 May 2008)
New Revision: 31305

Modified:
   grass/branches/develbranch_6/scripts/v.rast.stats/v.rast.stats
Log:
r.cats -> r.category (#161)

Modified: grass/branches/develbranch_6/scripts/v.rast.stats/v.rast.stats
===================================================================
--- grass/branches/develbranch_6/scripts/v.rast.stats/v.rast.stats	2008-05-09 20:04:39 UTC (rev 31304)
+++ grass/branches/develbranch_6/scripts/v.rast.stats/v.rast.stats	2008-05-10 03:28:57 UTC (rev 31305)
@@ -185,7 +185,7 @@
 
 
 #dump cats to file to avoid "too many argument" problem:
-r.cats "${VECTOR}_${TMPNAME}" fs=';' --quiet | cut -d';' -f1 > "$TMP.cats"
+r.category "${VECTOR}_${TMPNAME}" fs=';' --quiet | cut -d';' -f1 > "$TMP.cats"
 #echo "List of categories found: $CATSLIST"
 NUMBER=`cat "$TMP.cats" | wc -l | awk '{print $1}'`
 if [ $NUMBER -lt 1 ] ; then



More information about the grass-commit mailing list