Paul Jarc wrote:
TimtheEagle <[EMAIL PROTECTED]> wrote:
main_auth=7

f=main
t=auth

ile=$f"_"$t

echo $ile

Either: echo "${!ile}"

Not portable.

Or:     eval "echo \"\$$ile\""

Portable (even to Solaris /bin/sh which is not POSIX).

Not saying which you should use, just something to be aware of.

--
Matthew
There's no place like ~.



Reply via email to