H Huang wrote: > produces one directory under test: test/{usr,bin} > > Note that /bin/sash also has the same problem, while /bin/bash, > /bin/tcsh, and /usr/bin/ksh do not. > > Any comment?
Yes. {foo,bar} is a bashism. Do not expect any shell except bash to expand it. -- see shy jo