Monday, February 06, 2006
Replace tabs with spaces
# Replace tabs with 4 spaces in all java files
for i in `find . -name '*.java'`; do sed -ie 's/\t/ /g' $i; done
# Clean up left-over
find . -name '*.javae' -exec rm -f {} \;
# Replace tabs with 4 spaces in all java files
for i in `find . -name '*.java'`; do sed -ie 's/\t/ /g' $i; done
# Clean up left-over
find . -name '*.javae' -exec rm -f {} \;