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