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   ebl...@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to