No brace expansion for ash?

Chris Rees utisoft at gmail.com
Sat Jul 9 10:11:07 UTC 2011


On 9 July 2011 11:08, Eric Martin <eric.martin at gmx.net> wrote:
>
>>> Hello,
>>>
>>> I recently installed busybox's ash to test it as a viable alternative to
>>> bash and i discovered that it doesn't interpret brace expansion as the
>>> tiny hush does...
>>>
>>
>> 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.

That doesn't mean it's a bug.

Chris


More information about the busybox mailing list