now uses find to locate .thy.ML files everywhere
authorlcp
Tue, 13 Sep 1994 11:19:38 +0200
changeset 608 245633e2fd57
parent 607 72fc777dbda0
child 609 6d520505e704
now uses find to locate .thy.ML files everywhere
rm-logfiles
src/Tools/rm-logfiles
--- a/rm-logfiles	Tue Sep 13 10:42:34 1994 +0200
+++ b/rm-logfiles	Tue Sep 13 11:19:38 1994 +0200
@@ -2,6 +2,4 @@
 #rm-logfiles: remove useless files from subdirectories
 rm log */make*.log */make*.log.gz
 rm */test
-rm */.*.thy.ML
-rm */ex/.*.thy.ML
-rm HOL/Subst/.*.thy.ML
+find . -name '.*.thy.ML' -print -exec rm {} \;
--- a/src/Tools/rm-logfiles	Tue Sep 13 10:42:34 1994 +0200
+++ b/src/Tools/rm-logfiles	Tue Sep 13 11:19:38 1994 +0200
@@ -2,6 +2,4 @@
 #rm-logfiles: remove useless files from subdirectories
 rm log */make*.log */make*.log.gz
 rm */test
-rm */.*.thy.ML
-rm */ex/.*.thy.ML
-rm HOL/Subst/.*.thy.ML
+find . -name '.*.thy.ML' -print -exec rm {} \;