blob: a778a7c580c42d40f3d3c6dddb5d13fb9a2d0e31 [file] [log] [blame]
# Unix/Linux shell script to clean up whitespace in all .java files in a directory.
#
# All tabs found are replaced with 4 spaces.
#
# Add the following to also remove trailing whitespace from all lines:
# -e "s/\s\s*$//" \
find . -name ".svn" -prune -o -name "*.java" -exec \
sed --in-place \
-e "s/\t/ /g" \
{} \;