On 12/06/11 15:16, Daniel Richard G. wrote: > (Paul: Does $({}) work on NonStop?)
I don't know, sorry. I wanted a solution that worked on any POSIX platform -- POSIX 2008 says that $(aaa${bbb}) is just as unspecified as $(aaa$(bbb)) is, and I wanted to play it safe. Part of this is my experience with implementers who code from the spec, so that their implementations' quirks are not necessarily those of the historical code.