Anonymous user
Program termination: Difference between revisions
{{header|UNIX Shell}}
(→{{header|Python}}: Add subheadings/emphasis) |
({{header|UNIX Shell}}) |
||
Line 633:
There are no objects to be cleaned up.
=={{header|UNIX Shell}}==
{{works with|Bourne Shell}} {{works with|bash}}
<lang sh>#!/bin/sh
a='1'
b='1'
if [ "$a" -eq "$b" ]; then
exit 239 # Unexpected error
fi
exit 0 # Program terminated normally
</lang>
=={{header|Vedit macro language}}==
|