pekko/scripts/remove_trailing_whitespace.sh
2009-08-12 21:13:59 +02:00

4 lines
156 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]*$//' {} \;