Browse Source

Fix more undesirable line breaks

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@32692 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 16 years ago
parent
commit
86e7cc7d9c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tools/grass_indent.sh

+ 2 - 2
tools/grass_indent.sh

@@ -11,7 +11,7 @@ else
       -npsl -nsc -nsob -saf -sai -saw -sbi0 -ss -ts8 -ut "$@"
       -npsl -nsc -nsob -saf -sai -saw -sbi0 -ss -ts8 -ut "$@"
 
 
  # fix broken gettext macros:
  # 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
 fi