httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yosh...@apache.org
Subject cvs commit: httpd-2.0/docs/manual expand.pl
Date Fri, 03 Aug 2001 08:57:39 GMT
yoshiki     01/08/03 01:57:39

  Modified:    docs/manual expand.pl
  Log:
  Expand .html.en, .html.fr and .html.ja.jis as well as
  .html and .html.html.
  
  Revision  Changes    Path
  1.10      +1 -1      httpd-2.0/docs/manual/expand.pl
  
  Index: expand.pl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/expand.pl,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- expand.pl	2001/07/29 22:54:22	1.9
  +++ expand.pl	2001/08/03 08:57:39	1.10
  @@ -73,7 +73,7 @@
   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: $!";
  
  
  

Mime
View raw message