[GRASS-SVN] r32692 - grass/trunk/tools

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


Author: glynn
Date: 2008-08-11 20:06:10 -0400 (Mon, 11 Aug 2008)
New Revision: 32692

Modified:
   grass/trunk/tools/grass_indent.sh
Log:
Fix more undesirable line breaks


Modified: grass/trunk/tools/grass_indent.sh
===================================================================
--- grass/trunk/tools/grass_indent.sh	2008-08-11 23:55:18 UTC (rev 32691)
+++ grass/trunk/tools/grass_indent.sh	2008-08-12 00:06:10 UTC (rev 32692)
@@ -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