Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2006 11:22:06 +0400
From:      "Andrey V. Semyonov" <wilfre@mail.ru>
To:        freebsd-questions@freebsd.org
Subject:   Re: /usr/local/etc/rc.d and role accounts
Message-ID:  <443F4D9E.8040006@mail.ru>
In-Reply-To: <443F4973.6020401@mail.ru>
References:  <20060413221630.GA50540@malcolm.berkeley.edu> <443F4973.6020401@mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrey V. Semyonov wrote:

> The most terrible thing is than you can't extract a value from a 
> variable, which you name by some dynamic sting (you can't extract a 
> variable by name set in other variable partly or the whole)

Sorry, I'm too hurry.

if ! /bin/test -z $(eval echo \$${name}${common_var_suffix}); then ...
will work well too



.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?443F4D9E.8040006>