From owner-freebsd-doc@FreeBSD.ORG Sun Oct 29 17:18:53 2006 Return-Path: X-Original-To: doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E60316A415 for ; Sun, 29 Oct 2006 17:18:53 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4C6A43D5C for ; Sun, 29 Oct 2006 17:18:52 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by nf-out-0910.google.com with SMTP id p77so1962226nfc for ; Sun, 29 Oct 2006 09:18:51 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=AJ8s+tDB+EC8SAX3BT5SpHfqGfIIVBkdRHcJjaQMTUPAFXR/U+chekLZreTTrFgk8snztyUnTRsUnEnyD3KpnToFO06d/2CgW+K+kQmK4fN3uUJKycJQBr2npENOvyRt2FriG3YQSzCfXK+W36uG2OHIiQ6wU/1Di6u3p6wZmL8= Received: by 10.78.151.15 with SMTP id y15mr3356238hud; Sun, 29 Oct 2006 09:18:50 -0800 (PST) Received: by 10.78.167.16 with HTTP; Sun, 29 Oct 2006 09:18:50 -0800 (PST) Message-ID: Date: Sun, 29 Oct 2006 20:18:50 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Yar Tikhiy" In-Reply-To: <20061015173531.GB31717@comp.chem.msu.su> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061015173531.GB31717@comp.chem.msu.su> X-Google-Sender-Auth: bf909fabb85c09cf Cc: doc@FreeBSD.org Subject: Re: New article X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2006 17:18:53 -0000 On 10/15/06, Yar Tikhiy 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!