From: Yoshiki Hayashi Date: Fri, 3 Aug 2001 08:57:39 +0000 (+0000) Subject: Expand .html.en, .html.fr and .html.ja.jis as well as X-Git-Tag: 2.0.23~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6adddefe3f830273614bfae74664201a63b134f4;p=apache Expand .html.en, .html.fr and .html.ja.jis as well as .html and .html.html. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89905 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/expand.pl b/docs/manual/expand.pl index c85e3076f5..477a9fa17b 100644 --- a/docs/manual/expand.pl +++ b/docs/manual/expand.pl @@ -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: $!";