[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unset variables, was Re: please correct my ugly hack
From: |
Paul Eggert |
Subject: |
Re: unset variables, was Re: please correct my ugly hack |
Date: |
Thu, 02 Jun 2005 23:35:20 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) |
Dan Manthey <address@hidden> writes:
> 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.
> Also, I know that ${var:-default} is not portable. Is
> ${var-default}?
Yes.
> For that matter, I know you can set bash to error out on $var for an
> unset var
Let's not do that, please. Let's stick to traditional behavior
blessed by POSIX. If Bash's behavior is inherited I suppose we should
turn it off.
- 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 <=
- Re: unset variables, was Re: please correct my ugly hack, Stepan Kasal, 2005/06/03
- 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