[GRASS-SVN] r31182 - in grass-addons: . tools
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Apr 30 02:04:33 EDT 2008
Author: hamish
Date: 2008-04-30 02:04:33 -0400 (Wed, 30 Apr 2008)
New Revision: 31182
Added:
grass-addons/tools/
grass-addons/tools/svngrep
Log:
add script to aid GRASS source code grepping
Added: grass-addons/tools/svngrep
===================================================================
--- grass-addons/tools/svngrep (rev 0)
+++ grass-addons/tools/svngrep 2008-04-30 06:04:33 UTC (rev 31182)
@@ -0,0 +1,12 @@
+#!/bin/sh
+# svngrep -- by Hamish Bowman, 30 Apr 2008
+# released to the Public Domain
+#
+# simple wrapper script for grep which will skip false positives in
+# /.svn/, .tmp.html, and binary files
+#
+# e.g. trunk$ svngrep -r scalebar *
+
+
+grep -I $* | grep -v '/\.svn/\|\.tmp\.html:'
+
Property changes on: grass-addons/tools/svngrep
___________________________________________________________________
Name: svn:executable
+ *
More information about the grass-commit
mailing list