gae@osupyr.mast.ohio-state.edu (Gerald Edgar) (06/21/88)
I want to write a shell script that will continue even if there is an error status in its middle. Help? -- Gerald A. Edgar TS1871@OHSTVMA.bitnet Department of Mathematics gae@osupyr.mast.ohio-state.edu The Ohio State University gae@osupyr.UUCP Columbus, OH 43210 70715,1324 CompuServe
dorourke@polyslo.UUCP (David O'Rourke) (06/22/88)
In article <615@osupyr.mast.ohio-state.edu> gae@osupyr (Gerald Edgar) writes: >I want to write a shell script that will continue even if there is an error >status in its middle. Help? Most of the MPW commands have options that allow you to tell them to ignore error's. And since shell scripts use the MPW primatives, you can have your shell script use commands with the the "ignore" error's option set. There probably are other ways but that's the way I do it in my shell scripts. -- David M. O'Rourke Disclaimer: I don't represent the school. All opinions are mine!
dan@Apple.COM (Dan Allen) (06/22/88)
In article <615@osupyr.mast.ohio-state.edu> gae@osupyr (Gerald Edgar) writes: > >I want to write a shell script that will continue even if there is an error >status in its middle. Help? Try set exit 0 rest of script.... Dan Allen Apple Computer