On 9 July 2011 12:17, Eric Martin <[email protected]> wrote:
>
>>> 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
>>
> I never said it's a bug, i just said it's a pity that nobody takes an
> interest in integrate this bashism to ash.
>

Every bashism imported not only bloats the shell, but also breaks its
compatibilty, and stops bashisms being detected, so these non-portably
written scripts error out in Solaris, FreeBSD and most Debians.

The real pity is people who write bash scripts starting #!/bin/sh, and
then complain that sh isn't bash. It isn't!

Chris
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to