[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SCIIBIN Problem?
bird@cbnewsd.cb.att.com (j.l.walters) writes:
>I changed a bins file so that it was invalid. I then
>creatred a shell script:
>sciibin bins
>if [ $? != 0 ]
>then
> echo "Bad stuff happened"
>else
> echo "Everything was cool"
>fi
>Unfortunately, the return code from sciibin was "0" so the answer above
>was: "Everything was cool." This was in conflict with the error messages:
Maybe sciibin managed to do some of the file but got errors in other parts of
the file. If there was no terminal error, it continued with the next chunk of
binSCII and there was no abnormal termination and therefore exit status was 0
______________________________________________________________________
|~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| Phillip Vandry | Vandry@Cam.Org | Suicide (n.): What to do if Macs |
|________________|________________|_______________take over the world__|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~