DragonFly users List (threaded) for 2006-05
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: /bin/sh compatibility issue
joerg@xxxxxxxxxxxxxxxxx wrote:
> On Wed, May 10, 2006 at 03:39:53PM +0000, Johannes Hofmann wrote:
>> The following shell script outputs "false1" with all shells I tried
>> but with /bin/sh on DragonFly. Is this a known incompatibility?
>
> I have to read the POSIX definitions, but this doesn't look very wrong
> at least. Actually, I can understand this behaviour at the very least.
Yes, but the funny thing is that
#!/bin/sh
set -e
false && echo "huh?"
echo "false1"
false
echo "false2"
gives "false1" even with DragonFly /bin/sh.
Johannes
>
> Joerg
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]