pekko/scripts/remove_trailing_whitespace.sh

6 lines
159 B
Bash
Raw Normal View History

2009-02-16 13:53:10 +01:00
#!/bin/sh
echo "removing all trailing whitespace from all *.scala, *.html and *.xml files"
# find . -type f -name '*.scala' -exec sed -i 's/[ \t]*$//' {} \;