From: Adam Dickmeiss Date: Mon, 18 Jul 2011 11:56:22 +0000 (+0200) Subject: Split long line X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=6b76247c200a3e0faa4bdd1680e38dc8cea7bd79;p=git-tools-moved-to-github.git Split long line --- diff --git a/fixup-headers/fixup.sh b/fixup-headers/fixup.sh index dc42a8f..1414047 100755 --- a/fixup-headers/fixup.sh +++ b/fixup-headers/fixup.sh @@ -4,7 +4,10 @@ if test -z "$R"; then echo "Supply range. Eg 2006-2009" exit 1 fi -for f in `find . \( -name '*.[ch]' -or -name Makefile.am -or -name makefile -or -name '*.cpp' -or -name '*.hpp' -or -name license.txt -or -name README -or -name configure.ac -or -name '*.nsi' \) -print`; do +for f in `find . \( -name '*.[ch]' -or -name Makefile.am -or -name makefile \ + -or -name '*.cpp' -or -name '*.hpp' -or -name license.txt \ + -or -name README -or -name configure.ac -or -name '*.nsi' \ + -or -name '*.rnc' \) -print`; do echo $f sed "s/Copyri.*20.*Data/Copyright (C) $R Index Data/g" < $f >${f}_new if diff $f ${f}_new >/dev/null; then