[Bug 141481] Re: dash as #!/bin/sh introduces countless incompatibilities

2007-09-21 Thread Michael Zawrotny
POSIX compliance is exactly the heart of this. Just because dash *claims* to comply with the standard doesn't necessarily mean that it *actually* does. Specifically, as quoted in bug #92189, section 2.6.4 of IEEE 1003.1 states If the shell variable x contains a value that forms a valid int

[Bug 118021] dash as /bin/sh breaks POSIX 1003.1 scripts

2007-05-31 Thread Michael Zawrotny
Public bug reported: Binary package hint: dash On feisty, dash is installed with a symlink to /bin/sh. This breaks POSIX 1003.1 compliant scripts as demonstrated below: [EMAIL PROTECTED] dash $ x=3 $ echo $(( x + 4 )) dash: arith: syntax error: " x + 4 " $ echo $(( $x + 4 )) 7 As stated in th