From 54da37443c1c9a9a0a4cc6ee38932f6623fa8e06 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Mon, 27 Jan 2020 11:57:36 +0000
Subject: Extend runblock functionality (thanks Profpatsch)
---
doc/runblock.html | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
(limited to 'doc/runblock.html')
diff --git a/doc/runblock.html b/doc/runblock.html
index 476f801..f090f85 100644
--- a/doc/runblock.html
+++ b/doc/runblock.html
@@ -23,12 +23,14 @@
in the execline language. It can only be used inside an execline
script. If the script has been given blocks as arguments, runblock
allows you to execute one of the blocks individually.
+It also allows you to give those blocks as a set of arguments to
+another command.
Interface
- runblock [ -P ] [ -n argshift ] [ -r ] n
+ runblock [ -P ] [ -n argshift ] [ -r ] n cmd...
@@ -41,6 +43,9 @@ arguments and blocks.
n blocks and execs into the remaining arguments.
- Else it skips n-1 blocks and execs into the nth
one.
+ - If cmd... is not empty, then instead of directly executing the
+block or the remainder, runblock appends the selected
+set of arguments to the cmd... command line.
- Normally runblock pops
its environment frame before executing. If the -P option has
been given, it does not pop.
--
cgit v1.3.1