From a43216278137fe399cdcea6210e580b445e16197 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Mon, 23 Nov 2020 23:27:31 +0000
Subject: New forstdin; new trap; prepare for 2.7.0.0
---
doc/forstdin.html | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'doc/forstdin.html')
diff --git a/doc/forstdin.html b/doc/forstdin.html
index 5228aee..f57ee9c 100644
--- a/doc/forstdin.html
+++ b/doc/forstdin.html
@@ -30,7 +30,7 @@ run another program.
- forstdin [ -p | -o okcodes | -x breakcodes ] [ -n ] [ -C | -c ] [ -0 | -d delim ] variable loop...
+ forstdin [ -p | -o okcodes | -x breakcodes ] [ -e eofcode ] [ -n ] [ -C | -c ] [ -0 | -d delim ] variable loop...
@@ -63,6 +63,8 @@ not listed in okcodes, forstdin will exit immediately with an
option, but with inverted meaning - the listed exit codes are codes
that will make forstdin break the loop and exit, and the unlisted exit
codes will make it keep looping.
+ - -e eofcode : if forstdin reads EOF,
+exit eofcode. Default is 0.
- Other options are used to control
the substitution mechanism for every x. Of course, you can't
split x.
--
cgit v1.3.1