Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!sri-spam!parcvax!hplabs!hplabsc!coulter From: coulter@hplabsc.UUCP (Michael Coulter) Newsgroups: net.unix-wizards Subject: Re: history question-- Bourne (and C) SHELL COMMENTS Message-ID: <7100001@hplabsc.UUCP> Date: Fri, 15-Aug-86 16:20:00 EDT Article-I.D.: hplabsc.7100001 Posted: Fri Aug 15 16:20:00 1986 Date-Received: Thu, 21-Aug-86 00:53:40 EDT References: <1751@ittatc.ATC.ITT.UUCP> Organization: Hewlett-Packard Laboratories - Palo Alto, CA Lines: 12 To get the effect of "NOT function-result" in the Bourne shell you can: some_command if [ ! $? -eq 0 ] then ... fi $? is assigned the result of the last command. -- Michael Coulter ...ucbvax!hplabs!coulter