Antonio Macchi <antonio_mac...@alice.it> writes:

> $ unset b
>
> $ echo ${!b-a}
> a

Indirection only looks at the PARAMETER part (here: b) of the
substitution.  Since b is not set there nothing to indirect through.

Andreas.

-- 
Andreas Schwab, SuSE Labs, sch...@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Reply via email to