Path: utzoo!attcan!uunet!mdcbbs!solomon
From: solomon@mdcbbs.uucp (BARRY (MCDONNELL DOUGLAS))
Newsgroups: comp.sys.apollo
Subject: Re: /com/sh programming
Message-ID: <389@mdcbbs.uucp>
Date: 12 Sep 89 08:21:02 GMT
References: <8909071944.AA13986@richter.mit.edu>
Organization: MDM&E
Lines: 17

> I want to write an Aegis shell script that checks if a
> previously executed command completed correctly. If I
> remember correctly, programs which run to completetion
> return the status code PGM_$OK. Does anyone know how
> I can test for this within a shell script?

It's actualy simpler than that.  

#!/com/sh

if  then

else

endif

Barry Solomon (Mcdonnell Douglas M&E)