From maechler@stat.math.ethz.ch  Tue Mar  9 09:47:26 1999
From: maechler@stat.math.ethz.ch (maechler@stat.math.ethz.ch)
Date: Tue, 9 Mar 1999 10:47:26 +0100
Subject: example(.) partly broken (since 0.63.3) --> patch (PR#134)
Message-ID: <199903090947.KAA05234@biostat.ku.dk>

I think one should also apply the following patch  
in order to get the HTML indices right.. when AnIndex is allowed to contain
spaces " " in addition to the separating "\t" :

--- etc/buildlib.pl.~1~	Wed Mar  3 17:35:42 1999
+++ etc/buildlib.pl	Tue Mar  9 10:41:15 1999
@@ -168,7 +168,7 @@
 		if(-r "$lib/$pkg/help/AnIndex"){
 		    open ranindex, "< $lib/$pkg/help/AnIndex";
 		    while(<ranindex>){
-			/^(\S*)\s*\t(.*)/;
+			/^([^\t]*)\s*\t(.*)/;
 			$htmlindex{$1} = "$pkg/html/$2.$HTML";
 		    }
 		    close ranindex;
@@ -195,7 +195,7 @@
 		if(-r "$lib/$pkg/help/AnIndex"){
 		    open ranindex, "< $lib/$pkg/help/AnIndex";
 		    while(<ranindex>){
-			/^(\S*)\s*\t(.*)/;
+			/^([^\t]*)\s*\t(.*)/;
 			$anindex{$1} = $2;
 		    }
 		    close ranindex;


----------------------
((and yes, I *did* diagnose and fix most of the problem in spite of
  my introductory remark in the last message...))

Martin

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


example(.) partly broken (since 0.63.3) --> patch (PR#134)
maechler@stat.math.ethz.ch