[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Brace expansion bug
From: |
Eric Blake |
Subject: |
Re: Brace expansion bug |
Date: |
Mon, 26 Mar 2012 08:07:00 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120316 Thunderbird/11.0 |
On 03/26/2012 07:56 AM, Dan Douglas wrote:
> Don't know how much I'm allowed to quote here, but a quick read of the POSIX
> parsing rules and parameter expansion sections suggest to me that the start
> of the parameter expansion should be the most important factor, and that
> nested quotes and braces are counted as part of the parameter expansion and
> escape at least any closing braces (doesn't mention opening brace).
POSIX doesn't specify brace expansion. Use of brace expansion is an
extension, and since there is no standard, it's hard to say whether it's
right or wrong; you can only say whether it behaves as bash documented
it to behave.
--
Eric Blake eblake@redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature