On Mar 3, 2005, at 4:12 PM, John H. Robinson, IV wrote:
Yes, that works great to know if MAYBESET is set or not, but if MAYBESET
is set to OTHERVAR (MAYBESET=OTHERVAR) and I want to know if OTHERVAR is
set or not. Think of MAYBESET as an indirect variable.
Hrm. I will have to pull up my deeper bourne references for that one.
There is almost certainly an idiom. It will not be as succinct.
There is a reason why korn, bash, zsh, etc. all have indirect variables built in.
-a
-- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
