ed.1p
The following exit values shall be returned:
0 Successful completion without any file or command errors.
>0 An error occurred.