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 --- INSTALL | 2 +- NEWS | 7 +++ doc/forstdin.html | 4 +- doc/index.html | 4 +- doc/trap.html | 25 ++++---- doc/upgrade.html | 10 ++++ package/info | 2 +- src/execline/forstdin.c | 11 +++- src/execline/trap.c | 147 +++++++++++++++++++++++------------------------- 9 files changed, 115 insertions(+), 97 deletions(-) diff --git a/INSTALL b/INSTALL index fb97b16..b17858f 100644 --- a/INSTALL +++ b/INSTALL @@ -6,7 +6,7 @@ Build Instructions - A POSIX-compliant C development environment - GNU make version 3.81 or later - - skalibs version 2.9.3.0 or later: https://skarnet.org/software/skalibs/ + - skalibs version 2.9.4.0 or later: https://skarnet.org/software/skalibs/ This software will run on any operating system that implements POSIX.1-2008, available at: diff --git a/NEWS b/NEWS index 81a2212..54b3ebe 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,12 @@ Changelog for execline. +In 2.7.0.0 +---------- + + - New -e option to forstdin. + - New "default" directive to trap, replacing the irrelevant "timeout". + + In 2.6.1.1 ---------- 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...
 
@@ -66,7 +66,7 @@ library.

Download

Notes

@@ -88,7 +84,10 @@ infinite (i.e. a timeout directive will never trigger).