From owner-freebsd-questions Fri Oct 6 20:40:18 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA07038 for questions-outgoing; Fri, 6 Oct 1995 20:40:18 -0700 Received: from late5.e-technik.uni-erlangen.de (late5.e-technik.uni-erlangen.de [131.188.254.132]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id UAA07020 for ; Fri, 6 Oct 1995 20:40:12 -0700 Received: (from tuucp@localhost) by late5.e-technik.uni-erlangen.de (8.6.10/8.6.6) id XAA01231 for freebsd-questions@freebsd.org; Fri, 6 Oct 1995 23:40:03 -0400 Received: from odin (iwte01-2.dialin.rrze.uni-erlangen.de [192.44.83.18]) by iwte01.dialin.rrze.uni-erlangen.de (8.6.11/8.6.6) with ESMTP id VAA00598 for ; Fri, 6 Oct 1995 21:27:05 +0100 Received: (from eilts@localhost) by odin (8.6.8/8.6.6) id VAA00550 for freebsd-questions@freebsd.org; Fri, 6 Oct 1995 21:27:02 +0100 Date: Fri, 6 Oct 1995 21:27:02 +0100 From: Hinrich Eilts Message-Id: <199510062027.VAA00550@odin> Received: by NeXT.Mailer (1.100) Received: by NeXT Mailer (1.100) To: freebsd-questions@freebsd.org Subject: Bug in /bin/sh ? Sender: owner-questions@freebsd.org Precedence: bulk If I start following script #!/bin/sh set -e if [ x = y ]; then a=b else true b=c fi echo Hello it runs like expected, but if I comment out the "true", it stops right after "b=c" while running on NeXT, Linux and HPUX. Hinrich