LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 1996, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 10 Oct 1996 10:26:22 -0400
Reply-To:   Ed Bourke <EBOURKE@TDSI.JTS.COM>
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   Ed Bourke <EBOURKE@TDSI.JTS.COM>
Subject:   UNIX Return Codes - Reply

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> From: Jules Bosch <jules_bosch@CCMAIL.BMS.COM>

SUMMARY: I want to get the UNIX rc for the lp print command

OS: UNIX System V, SunOS 5.5, -csh

.... Now, I want the value of the exit command associated with this event. In some flavors of UNIX I understand the command "echo $?" will display the value of the exit command. Does anybody know what the command might be in the UNIX OS I am using? <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< "echo $?" should work for most unixen. It won't work if you aren't using the Bourne shell or another compatible shell. If you are using the C-shell, try: "echo $status"


Back to: Top of message | Previous page | Main SAS-L page