strange expansion of <(cat p.main.{optional,extra})

2007-04-17 Thread lucas
such file or directory + echo /dev/fd/63 /dev/fd/62 /dev/fd/63 /dev/fd/62 I would have expected to be expanded to <(cat /etc/passwd /etc/motd) first. Repeat-By: echo <(cat /etc/passwd /etc/motd) tested with bash 3.1 and 3.2. Someone else told me on IRC that 2.05 was also affected. Lucas

Re: strange expansion of <(cat p.main.{optional,extra})

2007-04-18 Thread Lucas Nussbaum
oes not apply any syntactic interpretation to > > the context of the expansion or the text between the braces." > > If it would be done strictly textual, the resulting expansion would > actually be this: > > $ echo <(cat p.main.optional) p.main.extra) > > which

Re: strange expansion of <(cat p.main.{optional,extra})

2007-04-18 Thread Lucas Nussbaum
On 18/04/07 at 14:37 +0200, Andreas Schwab wrote: > Eric Blake <[EMAIL PROTECTED]> writes: > > > According to Andreas Schwab on 4/18/2007 4:01 AM: > >> Lucas Nussbaum <[EMAIL PROTECTED]> writes: > >> > >>> Well, no, because bash expands *para