On 1/30/25 12:34:21, Antonio Diaz wrote: | Since 2006[1] GNU ed provides the option '-l, --loose-exit-status'[2] to | prevent some errors from affecting the exit status of an interactive | session. (It was suggested by Karl Berry IIRC):
Antonio, When ed was handed to you, it already reset the exit status on successful write, sigh. Replacing that behavior with a command-line option is useless if ed is invoked by another process, as is the case when EDITOR=ed. And setting EDITOR='ed -l' breaks when ed doesn't recognize option `-l'. Leave Karl out of it. He's smarter than that. -AM