|
From: | David Given |
Subject: | Re: [Bug-ed] Ed scripts failing in versions after ~1.10 |
Date: | Tue, 22 May 2018 21:32:42 +0200 |
The non-zero exit status only appears with 1.14.2, and not with 1.13.
Executing the H command reveals that the ? warning is "buffer modified".
The relevant change is likely:
>The modified status is no longer cleared after writing the buffer to the
>standard input of a shell command. (Reported by Jérôme Frgacic).
Reported at https://lists.gnu.org/archive/html/bug-ed/2016-08/msg00000.html
When the Q command is issued on a modified buffer, I don't understand
why ed exits with exit status 1 instead of 0. No error has occurred.
[Prev in Thread] | Current Thread | [Next in Thread] |