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 *parameters*, not words. So the prefix is
> >>> "<(cat /etc/", and the suffix is ")".
> >> 
> >> But that would not be a *strict textual* expansion.
> >
> > According to 'man bash', brace expansion is documented as being able to
> > expand one word into many.
> 
> The documentation talks about strings, not words.

Based on the behaviour, I think that bash first splits the command line
into a list of parameters, then expands each parameter. <(...) is a
single parameter.
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED]             GPG: 1024D/023B3F4F |


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to