[m-rev.] install ROTD versions of the mercury-gcc distribution

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Oct 7 03:29:13 AEST 2002


On 07-Oct-2002, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> On 03-Oct-2002, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> > if [ -d gcc/. && -d mercury-gcc/. ]; then
> 
> What is wrong with
> 
> 	if test -d gcc/. -a -d mercury-gcc/. ; then

Nothing.

> It seems better than the previously suggested solution.

Personally I find "&&" and "||" more readable than `-a' and `-o'.

(In this context, efficiency is not important, so I don't
care that on some systems it invokes an extra process.)

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list