The exit program
exit exits with a given exit code.
Interface
exit [ n ]
exit exits with the exit code n, or 0 if n is not given (in which case it's the same as true). If n is not a number, exit exits 100.
Notes
exit is a standard shell builtin, with the same function.
