Mercurial > kallithea
diff whitespacecleanup.sh @ 5379:1949ece749ce
cleanup: fix whitespace in CONTRIBUTORS (and other forgotten files) too
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Tue, 11 Aug 2015 12:39:07 +0200 |
parents | bdfba68cdfea |
children | 530bcb645d32 |
line wrap: on
line diff
--- a/whitespacecleanup.sh Tue Aug 11 12:39:07 2015 +0200 +++ b/whitespacecleanup.sh Tue Aug 11 12:39:07 2015 +0200 @@ -2,7 +2,8 @@ # Enforce some consistency in whitespace - just to avoid spurious whitespaces changes -files=`hg loc '*.py' '*.html' '*.css' '*.rst' '*.txt' '*.js' | egrep -v '/lockfiles.py|LICENSE-MERGELY.html|/codemirror/|/fontello/|(graph|mergely|native.history|select2/select2|yui.flot|yui.2.9)\.js$'` +files=`hg loc '*.py' '*.html' '*.css' '*.rst' '*.txt' '*.js' '*.ini' '*.cfg' CONTRIBUTORS LICENSE.md| egrep -v '/lockfiles.py|LICENSE-MERGELY.html|/codemirror/|/fontello/|(graph|mergely|native.history|select2/select2|yui.flot|yui.2.9)\.js$'` + sed -i -e "s,`printf '\t'`, ,g" $files sed -i -e "s, *$,,g" $files # ensure one trailing newline - remove empty last line and make last line include trailing newline: