Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!decwrl!hplabs!hpl-opus!hpccc!hp-ses!hpcuhb!hpcllla!hpclisp!hpcljws!jws From: jws@hpcljws.HP.COM (John Stafford) Newsgroups: comp.unix.questions Subject: Re: What's the return status of a pipeline??? Message-ID: <720005@hpcljws.HP.COM> Date: 11 May 89 23:52:54 GMT References: <186@marvin.moncam.co.uk> Organization: Hewlett-Packard Calif. Language Lab Lines: 4 Don't use ksh either. In some versions, the exit status of a pipeline is the exit status of the last component to terminate, not that of the last component of the pipe line (set +o monitor seems to restore the sh, last component of the pipe line behavior, but that isn't documented).