PWB1/usr/man/man1/exit.1

Compare this file to the similar file:
Show the results in this format:

.th EXIT I 5/31/77
.sh NAME
exit  \*-  terminate command file
.sh SYNOPSIS
.bd exit
[ integer ]
.sh DESCRIPTION
.it Exit
performs a
.bd seek
to the end of its standard input file.
Thus, if it is invoked inside
a file of commands, upon return from
.it exit
the shell will
discover an end-of-file and terminate.
.s3
The optional argument will be returned to the shell
as the exit status code.
.sh "SEE ALSO"
if(I), goto(I), sh(I)