]> granicus.if.org Git - apache/commitdiff
Expand .html.en, .html.fr and .html.ja.jis as well as
authorYoshiki Hayashi <yoshiki@apache.org>
Fri, 3 Aug 2001 08:57:39 +0000 (08:57 +0000)
committerYoshiki Hayashi <yoshiki@apache.org>
Fri, 3 Aug 2001 08:57:39 +0000 (08:57 +0000)
.html and .html.html.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89905 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/expand.pl

index c85e3076f52bc097bc0e4e6ef34b15a6f1372b90..477a9fa17b9565d3716801a8d0352d3a2d14a47e 100644 (file)
@@ -73,7 +73,7 @@ closedir DIR;
 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: $!";