summaryrefslogtreecommitdiff
path: root/doc/forstdin.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-11-24 10:44:08 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-11-24 10:44:08 +0000
commit8d67429c8b37415b04ec195dab9bdbcec8ec013a (patch)
treee42f15e902ef3d0454703e90691040c3b603042e /doc/forstdin.html
parent79d5c4eff6101f329b8ea52dd9e6d2336ea8bc93 (diff)
downloadexecline-8d67429c8b37415b04ec195dab9bdbcec8ec013a.tar.xz
Make forstdin only split on newlines by default
Diffstat (limited to 'doc/forstdin.html')
-rw-r--r--doc/forstdin.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/forstdin.html b/doc/forstdin.html
index f57ee9c..c7cc3d4 100644
--- a/doc/forstdin.html
+++ b/doc/forstdin.html
@@ -35,7 +35,7 @@ run another program.
<ul>
<li> <tt>forstdin</tt> reads its standard input as it becomes available,
-<a href="el_transform.html#split">splitting</a> it automatically. </li>
+<a href="el_transform.html#split">splitting</a> it on every line automatically. </li>
<li> For every argument <em>x</em> in the split output,
<tt>forstdin</tt> runs <em>loop...</em> as a child process, with
<em>variable</em>=<em>x</em> added to its environment. </li>
@@ -67,7 +67,9 @@ codes will make it keep looping. </li>
exit <em>eofcode</em>. Default is 0. </li>
<li> Other options are used to <a href="el_transform.html">control
the substitution mechanism</a> for every <em>x</em>. Of course, you can't
-split <em>x</em>. </li>
+split <em>x</em>. The default delimiter for <tt>forstdin</tt> is a
+newline; you need a <tt>-d</tt> option to split <em>x</em> around
+other values. </li>
</ul>
<h2> Notes </h2>