Re: R-beta: patch 2

Martin Maechler (maechler@stat.math.ethz.ch)
Wed, 4 Jun 97 09:10:52 +0200


Date: Wed, 4 Jun 97 09:10:52 +0200
Message-Id: <9706040710.AA01249@>
From: Martin Maechler <maechler@stat.math.ethz.ch>
To: p.dalgaard@kubism.ku.dk
In-Reply-To: <x2u3jfqsne.fsf@bush.kubism.ku.dk> (message from Peter Dalgaard
Subject: Re: R-beta: patch 2

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@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=