DragonFly BSD
DragonFly users List (threaded) for 2006-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

/bin/sh compatibility issue


From: Johannes Hofmann <Johannes.Hofmann@xxxxxx>
Date: 10 May 2006 15:39:53 GMT

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

#!/bin/sh
set -e
if true; then
      false && echo "huh?"
fi
echo "false1"
false
echo "false2"


 Johannes

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]