Subject: Re: /bin/sh bug or not?
To: Kenneth Stailey <email@example.com>
From: Greg A. Woods <firstname.lastname@example.org>
Date: 05/11/1995 11:05:00
[ On Wed, May 10, 1995 at 19:53:31 (-0400), Kenneth Stailey wrote: ]
> Subject: /bin/sh bug or not?
> email@example.com (Robert Tulloh) writes:
> > Well, I have run across something else that looks suspicious in NetBSD
> > sh and I wanted to run it past you. Take the expression:
> > i=`false`
> > Under AIX ksh, this expression will set return code to 1.
> > Under SunOS sh, this expression will set return code to 255.
> > Under SunOS bash, this expression will set return code to 255.
Hmmm.... On SunOS-4.1.3, 4.1.3_U1 and 4.1.4 /usr/bin/sh sets $? to 1.
Greg A. Woods
+1 416 443-1734 VE3TCP robohack!woods
Planix, Inc. <firstname.lastname@example.org>; Secrets Of The Weird <email@example.com>