indent.sh: Add reminder to clean up backup ~ files

This commit is contained in:
Bill Kendrick 2024-10-23 23:30:44 -07:00
parent c88616e13e
commit 8d6179a514

View file

@ -14,3 +14,13 @@ find ../magic/src/ -name "*.c" -exec indent -nbfda -npcs -npsl -bli0 --no-tabs {
echo "Indenting magic/src/*.h"
find ../magic/src/ -name "*.h" -exec indent -nbfda -npcs -npsl -bli0 --no-tabs {} \;
echo
echo "You probably want to remove the backup (*.c~ and *.h~) files:"
echo -n " * Back-up files in src/: "
find . -name "*~" | wc -l
echo -n " * Back-up files in magic/src/: "
find ../magic/src -name "*~" | wc -l
echo