No brace expansion for ash?
Chris Rees
utisoft at gmail.com
Sat Jul 9 12:07:43 UTC 2011
On 9 July 2011 12:17, Eric Martin <eric.martin at gmx.net> 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
More information about the busybox
mailing list