home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / shell / 5463 < prev    next >
Encoding:
Text File  |  1993-01-22  |  969 b   |  25 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!gatech!usenet.ins.cwru.edu!news.uakron.edu!news.csuohio.edu!randell.cba.csuohio.edu!damin
  3. From: damin@randell.cba.csuohio.edu (Greg Boehnlein)
  4. Subject: Exit status in /bin/sh
  5. Message-ID: <1993Jan22.152122.18637@news.csuohio.edu>
  6. Sender: news@news.csuohio.edu (USENET News System)
  7. Organization: Cleveland State University, Cleveland, Ohio
  8. Date: Fri, 22 Jan 1993 15:21:22 GMT
  9. Lines: 14
  10.  
  11.     Hello all. I am working with /bin/sh under Ultrix 4.3 and am trying
  12. to write some scripts that check for exit conditions from Oman technologies
  13. Z-modem protocols.
  14.  
  15. 1. I need to check to see if the transfer was successful.
  16. 2. Depending on the value of the exit status, I need to do various
  17.    things.
  18.  
  19. I am familiar with the basic concepts of shell programming and have been able
  20. to write basic shell scripts to handle simple tasks. However, I do need a 
  21. GOOD explanation with script examples of how to 'test' and use 'exit'.
  22.  
  23. Thanks..
  24.  
  25.