[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unset variables, was Re: please correct my ugly hack
From: |
Stepan Kasal |
Subject: |
Re: unset variables, was Re: please correct my ugly hack |
Date: |
Fri, 3 Jun 2005 09:11:56 +0200 |
User-agent: |
Mutt/1.4.1i |
Hello,
On Thu, Jun 02, 2005 at 11:35:20PM -0700, Paul Eggert wrote:
> > It's documented that the builtin `unset' is non-portable, but what about
> > the use of unset variables vs. empty variables? Is this distinction
> > always meaningful?
>
> Yes.
let me add that the cache uses the distinction whether the variable is
set or not. (test "${ac_cv_foo+set}" = set)
> > Also, I know that ${var:-default} is not portable. Is
> > ${var-default}?
>
> Yes.
And also
test "${ac_cv_foo+set}" = set
which is used by the caching mechanism.
Have a nice day,
Stepan
- please correct my ugly hack, Claudio Fontana, 2005/06/01
- Re: please correct my ugly hack, Stepan Kasal, 2005/06/01
- Re: please correct my ugly hack, Paul Eggert, 2005/06/01
- Re: please correct my ugly hack, Ralf Corsepius, 2005/06/01
- Re: please correct my ugly hack, Dan Manthey, 2005/06/01
- Re: please correct my ugly hack, Ralf Corsepius, 2005/06/02
- Re: please correct my ugly hack, Stepan Kasal, 2005/06/02
- unset variables, was Re: please correct my ugly hack, Dan Manthey, 2005/06/02
- Re: unset variables, was Re: please correct my ugly hack, Paul Eggert, 2005/06/03
- Re: unset variables, was Re: please correct my ugly hack,
Stepan Kasal <=
- Re: unset variables, was Re: please correct my ugly hack, Dan Manthey, 2005/06/03
- Re: please correct my ugly hack, Stepan Kasal, 2005/06/02
- Re: please correct my ugly hack, Stepan Kasal, 2005/06/03
- Re: please correct my ugly hack, Ralf Corsepius, 2005/06/03
- Re: please correct my ugly hack, Stepan Kasal, 2005/06/03
- Re: please correct my ugly hack, Ralf Corsepius, 2005/06/03
- Re: please correct my ugly hack, Bob Friesenhahn, 2005/06/03
- Re: please correct my ugly hack, Stepan Kasal, 2005/06/04
- Re: please correct my ugly hack, Ralf Wildenhues, 2005/06/05