R-beta: patch 2

Martin Maechler maechler at stat.math.ethz.ch
Wed Jun 4 09:10:52 CEST 1997


Allow even for people manually editing the files and leaving  emacs (~) or
other editors backup files (.bak): 

Apply this patch in  RHOME/src/library/base/ 

--- Makefile~	Mon Nov 25 22:49:00 1996
+++ Makefile	Wed Jun  4 09:01:16 1997
@@ -1,6 +1,7 @@
 base:
 	@echo building system base library
-	@cat funs/[a-z]* |sed '/^[ 	]*$$/d'  > ../../../library/base
+	@cat `ls funs/[a-z]* | sed '/CVS/d; /~$$/d;/\.bak$$/d;/\.orig$$/d'` \
+	 | sed '/^[ 	]*$$/d'  > ../../../library/base
 #				      ^^ = TAB + Space
 ##-- do NOT delete all '#' lines -- this BREAKS strings containing '#' !!
 ##-- Could still delete all  '/^[\t ]*#/ lines, but why not leave comments ?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
r-help 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-help-request at stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



More information about the R-help mailing list