5 # -----------------------------------------------------------------------------
11 # Search for "junk" files left over from editor, core, CVS, etc.
13 # - print filename only
15 # -----------------------------------------------------------------------------
21 m{^\.?.+~$} ## editor backup
22 or m{^\#.+\#$} ## editor autosave
23 or m{^\.\#.+$} ## cvs replace update (eg, ".#test.c.1.3")
24 or m{^core(\.\d+)?$} ## core dump
26 print "$File::Find::name\n";
31 ## Traverse desired filesystems
33 no warnings
'File::Find';
34 warn "(**) checking '$dir' ...\n";
35 File
::Find
::find
( { wanted
=> \
&wanted
}, $dir );