On 2011-04-06 14:33 +0200, Michael P. Soulier wrote:

> On 28/03/11 Miles Fidelman said:
>
>> of course you could just run your script under bash
>
> And I am, but why is dash claiming to be a posix shell by being /bin/sh?

Brace expansion is not Posix, so dash does not support it.  For other
possible problems, see https://wiki.ubuntu.com/DashAsBinSh.

The 'checkbashisms' script in the devscripts package can help you to
detect non-portable constructs in shell scripts.

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/878vvnpiv9....@turtle.gmx.de

Reply via email to