diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-03-15 16:57:52 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2021-03-15 16:57:52 +0000 |
commit | 40d64898c9d37142e808f1a9914d7455054c7cc2 (patch) | |
tree | f004df943634bac3c099487867df7462fb650ffc /doc | |
parent | baf6a7a26b5bb8d0a727e37912c2bf955964f357 (diff) | |
download | execline-40d64898c9d37142e808f1a9914d7455054c7cc2.tar.xz |
docfix: forstdin actually chomps the last line even without crunching
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forstdin.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/forstdin.html b/doc/forstdin.html index fb04f14..a3634a6 100644 --- a/doc/forstdin.html +++ b/doc/forstdin.html @@ -79,11 +79,11 @@ mechanism and has its own semantics for those options. <li> <tt>-N</tt> : store the whole line in <em>variable</em>, including the terminating newline (or other delimiter). </li> <li> <tt>-n</tt> : chomp a terminating delimiter from the line from -stdin before storing it into <em>variable</em>. This is the default. </li> +stdin before storing it into <em>variable</em>. This is the default. +Note that if chomping is active, and the last line of stdin is not +terminated by a delimiter, then this last line will not be processed. </li> <li> <tt>-C</tt> : crunch. If there is an empty line (i.e. that -only contains a delimiter), do not call <em>loop</em>. If this option is -given, <em>and</em> chomping is active, <em>and</em> the last line of stdin -is not terminated by a delimiter, then this last line will not be processed. </li> +only contains a delimiter), do not call <em>loop</em>. </li> <li> <tt>-c</tt> : do not crunch, call <em>loop</em> even if the line is empty. This is the default. </li> <li> <tt>-0</tt> : accept null characters on its stdin, |