[GRASS-SVN] r32694 - grass/branches/develbranch_6/tools

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 11 20:20:53 EDT 2008


Author: neteler
Date: 2008-08-11 20:20:53 -0400 (Mon, 11 Aug 2008)
New Revision: 32694

Modified:
   grass/branches/develbranch_6/tools/grass_indent.sh
Log:
glynn: Fix more undesirable line breaks (merge from trunk, r32692)

Modified: grass/branches/develbranch_6/tools/grass_indent.sh
===================================================================
--- grass/branches/develbranch_6/tools/grass_indent.sh	2008-08-12 00:11:23 UTC (rev 32693)
+++ grass/branches/develbranch_6/tools/grass_indent.sh	2008-08-12 00:20:53 UTC (rev 32694)
@@ -11,7 +11,7 @@
       -npsl -nsc -nsob -saf -sai -saw -sbi0 -ss -ts8 -ut "$@"
 
  # fix broken gettext macros:
- ls "$@" | xargs grep -l '(_$' | \
-       while read file ; do sed -i -e '/(_$/{;N;s/\n[ \t]*//;}' $file ; done
+ grep -l '\<_$' "$@" | \
+     while read file ; do sed -i -e '/[( \t]_$/{;N;s/\n[ \t]*//;}' $file ; done
 
 fi



More information about the grass-commit mailing list