From owner-freebsd-questions@FreeBSD.ORG Fri Apr 14 07:22:10 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 524FC16A401 for ; Fri, 14 Apr 2006 07:22:10 +0000 (UTC) (envelope-from wilfre@mail.ru) Received: from mx1.mail.ru (mx1.mail.ru [194.67.23.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id D278343D4C for ; Fri, 14 Apr 2006 07:22:09 +0000 (GMT) (envelope-from wilfre@mail.ru) Received: from [213.234.3.130] (port=31258 helo=[192.168.111.6]) by mx1.mail.ru with asmtp id 1FUId6-000IdE-00 for freebsd-questions@freebsd.org; Fri, 14 Apr 2006 11:22:08 +0400 Message-ID: <443F4D9E.8040006@mail.ru> Date: Fri, 14 Apr 2006 11:22:06 +0400 From: "Andrey V. Semyonov" User-Agent: Thunderbird 1.5 (X11/20060309) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20060413221630.GA50540@malcolm.berkeley.edu> <443F4973.6020401@mail.ru> In-Reply-To: <443F4973.6020401@mail.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: /usr/local/etc/rc.d and role accounts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Apr 2006 07:22:10 -0000 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 .