[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: testsuite problem

From: Akim Demaille
Subject: Re: testsuite problem
Date: 28 Feb 2001 10:52:21 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

"Tim Van Holder" <address@hidden> writes:

> Note that the ';' still isn't needed:
>       PATH="foo:bar" conftest
> behaves exactly like
>       PATH="foo:bar"; conftest
> except that the former does not affect PATH after the command is run.

I agree, but I think it is wrong to assume all the shells will have
the intelligence of honoring PATH immediately.

> We probably don't care for the purpose of our test, as the command
> is run in a subshell.  However, the first version might still be safer,
> as the use of a subshell is probably an implementation detail of

I agree too the first one is safer in a sane environment, but there
are really funny things out there.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]