[Top][All Lists]

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

Re: currently doable? Indirect notation used w/a hash

From: Linda Walsh
Subject: Re: currently doable? Indirect notation used w/a hash
Date: Thu, 13 Jun 2013 16:51:44 -0700
User-agent: Thunderbird

Chet Ramey wrote:
Now I want to access the value for IP for the current "IF" (IF holding
eth0 or eth1 or some other InterFace name).

This is an excellent statement of the rationale for nameref variables,
which will be implemented in bash-4.3.
        That order fries wouldn't happen to come with
the ability to also export such things would it?  ;-)

        I mean if what I pass it to in a function is in another
process by virtue of me calling it $(funcname)...

        Would be alot easier than my current method of storing such
things as define-strings along side the array/hashes that are
re-instantiated into the next process's environment (assuming it
processes my BASH_ENV -- which presumes it's another bash script).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]