> Here was an interesting bug which was some what unexpected. > > cat <(find ./ -iname t{1,2,3}) > > this is a valid command according to bash due to a bugged expansion of > {1,2,3} and the process expansion. It becomes three commands: > > find ./ -iname t1 > find ./ -iname t2 > find ./ -iname t3
It's not a bug. Brace expansion is the first word expansion performed, and can potentially expand one word to multiple ones. If you want to defer the brace expansion until the command in the process substitution is executed, add a backslash before the open brace. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Live Strong. Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://tiswww.tis.case.edu/~chet/ _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash