|
From: | Eric Blake |
Subject: | Re: [PATCH 2/5] docs: mention cost of globbing during variable expansion |
Date: | Wed, 25 Aug 2010 17:32:47 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.2 |
On 08/25/2010 05:18 PM, Eric Blake wrote:
-Be sure to quote: +When using @address@hidden@address@hidden@}} to assign a default value +to @var{var}, remember that even though the assignment to @var{var} does +not undergo file name expansion, the result of the variable expansion +does. In particular, when using @command{:} followed by unquoted +variable expansion for the side effect of setting a default value, if +either @samp{value} or the prior contents of @samp{$var} contains
Hmm, that should probably be @var{value}. But I ran out of time for today to fix it right away.
-- Eric Blake address@hidden +1-801-349-2682 Libvirt virtualization library http://libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |