summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-11-24 11:26:35 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-11-24 11:26:35 +0000
commit680b08a9d69fcb3582203ca5e1e6f0ba88fea9e0 (patch)
treee81ba779f78f75a2683f06c2ff70737bdfbf1388 /NEWS
parent8d67429c8b37415b04ec195dab9bdbcec8ec013a (diff)
downloadexecline-680b08a9d69fcb3582203ca5e1e6f0ba88fea9e0.tar.xz
Better forstdin
No need for the complexity: the important distinction is between "eof after reading something" and "eof right away". 0 is a natural fit for eof after some data, and 1 is a natural fit for immediate eof. Anything else can be scripted around this.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 2 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 6be3c4d..7ef56a9 100644
--- a/NEWS
+++ b/NEWS
@@ -3,8 +3,8 @@ Changelog for execline.
In 2.7.0.0
----------
- - forstdin QoL changes: new -e option to exit nonzero on EOF,
-and it now only splits on newlines by default.
+ - forstdin QoL changes: now it exits 1 if it doesn't read anything,
+and it only splits on newlines by default.
- New "default" directive to trap, replacing the irrelevant "timeout".