httpd-cvs mailing list archives

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

  Modified:    htdocs/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-docs-1.3/htdocs/manual/expand.pl
  
  Index: expand.pl
  ===================================================================
  RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/expand.pl,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- expand.pl	2000/11/14 09:47:21	1.9
  +++ expand.pl	2001/08/03 08:55:24	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