From 6adddefe3f830273614bfae74664201a63b134f4 Mon Sep 17 00:00:00 2001 From: Yoshiki Hayashi Date: Fri, 3 Aug 2001 08:57:39 +0000 Subject: [PATCH] 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 --- docs/manual/expand.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: $!"; -- 2.50.1