Re: [Rd] ???UNSURE??? Re: (PR#8363) R CMD INSTALL fails if cd prints

From: <>
Date: Mon 05 Dec 2005 - 12:28:52 GMT

On Friday 02 December 2005 18:20, Prof Brian Ripley wrote:

> What shells are these?

Bash, mostly, but also ksh and zsh; sorry for not mentioning this. I now see that the root account usually does not change the behaviour of cd, so we may as well forget about the matter. My thought was: if a small change helps avoid this problem (which I think can occur easily enough), it could be helpful. Incidentally, IMHO the way it is coded in (I didn't know about, sorry) is a bit unusual; cd does not seem to be required by the POSIX standard to have non-zero exit status when it fails (and in fact, on older SunOSes, 'cd non/existant/directory' returns 0). But that is probably more a matter of style, more than anything else. Regards,


Philip Lijnzaad
Genomics Laboratory
Dept. of Biomedical Genetics
University Medical Center (UMC), Utrecht
Stratenum room 2.201 (on Mondays and Thursdays not in after 14.45)
MSN chat (*NOT* email):
P.O. Box 85060, 3508 AB Utrecht
(Universiteitsweg 100, 3584 CG Utrecht)
The Netherlands
tel: +31 (0)30 253 8464
fax: +31 (0)30 253 8479

______________________________________________ mailing list
Received on Mon Dec 05 23:34:37 2005

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:34 GMT