.html and .html.html.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89905
13f79535-47bb-0310-9956-
ffa450edef68
foreach $dir (@dirs) {
print "Entering directory $dir\n";
opendir SUBDIR, "$dir" or die "Could not open subdir $dir: $!";
- foreach $file (grep /\.html$/, readdir SUBDIR) {
+ foreach $file (grep /\.html(\.[^.]+)*$/, readdir SUBDIR) {
print "Expanding file $dir/$file\n";
rename "$dir/$file", "$dir/${file}.old";
open READ, "$dir/${file}.old" or die "Couldn't read $dir/$file: $!";