/bin/sh compatibility issue

Johannes Hofmann Johannes.Hofmann at gmx.de
Wed May 10 08:39:53 PDT 2006

The following shell script outputs "false1" with all shells I tried
but with /bin/sh on DragonFly. Is this a known incompatibility?

set -e
if true; then
      false && echo "huh?"
echo "false1"
echo "false2"


PS: This issue has shown up with the hgmerge script from mercurial.

More information about the Users mailing list