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

Re: Bug#518752: update-exim4.conf: line 38: $@: unbound variable

clone 518752 -1
reassign -1 bash
found -1 4.0-1
retitle -1 set -u should not error on "${@:+}" if there are no args

On 2009-03-08 Alban browaeys <prahal@yahoo.com> wrote:
> >From \amethyst on freenode #bash  (Neil Moore) :
> <\amethyst> it is a bug I think
> <\amethyst> that you still get the error even with ${@-foo}
> <\amethyst> but ${@+"$@"}  probably shouldn't error out
> <\amethyst> since ${foo+bar}  does not
> <\amethyst> or ${foo+"$foo"}

> I believe this should be cloned to bash (kept here too because the
> current $@ is to be fixed either way).
> Please tell me if you want me to do it. I ll refresh my memories of the
> bts and proceed.

Thanks for the heads-up. Cloning.
cu andreas
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

Reply to: