Hello Steven,

Steven Terpe wrote:
# Whoops! I made a mistake!
[...]
error: There was a problem with the editor '/Users/sterpe/bin/ed'.

I think the '--loose-exit-status' option was added just to solve this kind of problem:

-l
--loose-exit-status
Do not exit with bad status if a command happens to "fail" (for example if a substitution command finds nothing to replace). This can be useful when ed is invoked as the editor for crontab.


Best regards,
Antonio.

_______________________________________________
bug-ed mailing list
bug-ed@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-ed

Reply via email to