summaryrefslogtreecommitdiff
path: root/doc/upgrade.html
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 /doc/upgrade.html
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 'doc/upgrade.html')
-rw-r--r--doc/upgrade.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/upgrade.html b/doc/upgrade.html
index 690c87e..d12b051 100644
--- a/doc/upgrade.html
+++ b/doc/upgrade.html
@@ -23,8 +23,8 @@
<ul>
<li> <a href="//skarnet.org/software/skalibs/">skalibs</a>
dependency bumped to 2.9.4.0. </li>
- <li> <a href="forstdin.html">forstdin</a> gets a new <tt>-e</tt>
-option, and now only splits on newlines by default. </li>
+ <li> <a href="forstdin.html">forstdin</a> now exits 1 on immediate EOF,
+and only splits on newlines by default. </li>
<li> New <tt>default</tt> directive to <a href="trap.html">trap</a>,
replacing the <tt>timeout</tt> one, which was ill-suited to that program. </li>
</ul>