On Monday, March 26, 2012 08:07:00 AM you wrote: > 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.
Fair enough, So long as there's no conflicting language. It is a useful hack if the behavior is intended - slightly betterthan the sometimes tempting but not- so-practical: cmd "${some-expansion}"{,,,,,} -- Dan Douglas
signature.asc
Description: This is a digitally signed message part.