pekko/scripts/remove_trailing_whitespace.sh
2010-01-02 21:16:05 +01:00

3 lines
No EOL
154 B
Bash
Executable file

#!/bin/sh
echo "removing all trailing whitespace from all *.scala, *.html and *.xml files"
find . -type f -name '*.scala' -exec sed -i 's/[ \t]*$//' {} \;