bash shell puzzle....
Andrew P. Lentvorski, Jr.
bsder at mail.allcaps.org
Fri Mar 4 11:15:37 PST 2005
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
More information about the KPLUG-List
mailing list