Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2006 20:18:50 +0300
From:      "Andrew Pantyukhin" <infofarmer@FreeBSD.org>
To:        "Yar Tikhiy" <yar@comp.chem.msu.su>
Cc:        doc@FreeBSD.org
Subject:   Re: New article
Message-ID:  <cb5206420610290918g2d6246bdhd3465d2e88f99e4f@mail.gmail.com>
In-Reply-To: <20061015173531.GB31717@comp.chem.msu.su>
References:  <20061015173531.GB31717@comp.chem.msu.su>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/15/06, Yar Tikhiy <yar@comp.chem.msu.su> wrote:
> Hi folks,

Great article, thanks!

How about
-eval "${rcvar}=\${${rcvar}:-'NO'}"
+eval : \${${rcvar}='NO'}
(a little more concise/readable; does not override
explicit null value, which might not be valid, but
should probably be respected all the same)

Thanks!



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