[GRASS-SVN] r42846 -
grass/branches/develbranch_6/scripts/v.rast.stats
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jul 19 09:23:45 EDT 2010
Author: hamish
Date: 2010-07-19 13:23:45 +0000 (Mon, 19 Jul 2010)
New Revision: 42846
Modified:
grass/branches/develbranch_6/scripts/v.rast.stats/v.rast.stats
Log:
use SUS compliant grep options (merge from relbr64)
Modified: grass/branches/develbranch_6/scripts/v.rast.stats/v.rast.stats
===================================================================
--- grass/branches/develbranch_6/scripts/v.rast.stats/v.rast.stats 2010-07-19 13:22:44 UTC (rev 42845)
+++ grass/branches/develbranch_6/scripts/v.rast.stats/v.rast.stats 2010-07-19 13:23:45 UTC (rev 42846)
@@ -199,7 +199,7 @@
#check if DBF driver used, in this case cut to 10 chars col names:
DBFDRIVER=0
v.db.connect -g "$VECTOR" fs=";" | grep -w "^$GIS_OPT_LAYER" | \
- cut -d';' -f5 | grep -i dbf --quiet
+ cut -d';' -f5 | grep -i dbf -q
if [ $? -eq 0 ] ; then
DBFDRIVER=1
else
More information about the grass-commit
mailing list