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).