Once more: Compiling on SGI Irix 5.3

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
07 May 1998 16:20:15 +0200


palme@uni-wuppertal.de (Hubert Palme) writes:

>  > 	@(sed 's/__PKG__/base/g' Pkg-start.tex; \
>  > 		find $(RLIB)/base/latex/ -name '*.tex' -print |\
>  > 		 sort | xargs cat ;\
>  > 		 cat Pkg-end.tex) > $@
>  > 
>  > But does all relevant systems have the xargs command?
> 
> Irix does, but the first solution is better understandable :-)

But the latter *never* creates too long command lines (xargs is built
to handle that). The other one has the problem that we have to guess
relevant splitting points for systems that we do not have...

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._