No brace expansion for ash?
Denys Vlasenko
vda.linux at googlemail.com
Sun Jul 10 10:04:47 UTC 2011
On Saturday 09 July 2011 12:11, Chris Rees wrote:
> On 9 July 2011 11:08, Eric Martin <eric.martin at gmx.net> wrote:
> >> could you provide an example ?
> >>
> >> re,
> >> wh
> >>
> >>
> >
> > With ash :
> >
> > # mkdir /tmp/{a,b,c}
> > # ls /tmp
> > {a,b,c}
> >
> >
> > With hush :
> >
> > # mkdir /tmp/{a,b,c}
> > # ls /tmp
> > a b c
> >
> >
> > Brace expansion works in hush but not in ash.
>
> It shouldn't work in ash, as Denys said. It's a bashism.
I didn't say it should not, I said it doesn't work.
IOW: there is no policy decision to never ever implement
brace expansion in ash, it's just not implemented right now.
--
vda
More information about the busybox
mailing list