From b808c255b6a9ddba085bf5646e7d20ec344f2e2d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 28 Apr 2020 08:48:53 +0200 Subject: Initial support for ad hoc recipes (still work in progress) --- doc/testscript.cli | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'doc') diff --git a/doc/testscript.cli b/doc/testscript.cli index 6b47dad..4c78e18 100644 --- a/doc/testscript.cli +++ b/doc/testscript.cli @@ -545,7 +545,7 @@ complete picture: \ $* 'World' >'Hello, World!' : command-name -$* 'John' 'Jane' >EOO : command-names +$* 'John' 'Jane' >>EOO : command-names Hello, Jane! Hello, John! EOO @@ -943,7 +943,7 @@ Alternatively, we can use an absolute path: \ Inside the scope working directory filesystem names that start with \c{stdin}, -\c{stdout}, \c{stderr}, as well as, \c{cmd-} are reserved. +\c{stdout}, and \c{stderr} are reserved. To execute a test scope its commands (including variable assignments) are executed sequentially and in the order specified. If any of the commands @@ -1536,9 +1536,9 @@ stderr: '2'(out-redirect) in-redirect: '<-'|\ '<|'|\ - '<'{':'?'/'?} |\ - '<<'{':'?'/'?} |\ - '<<<' + ('<='|'<<<') |\ + ('<<='|'<<'){':'?'/'?} |\ + ('<<<='|'<'){':'?'/'?} out-redirect: '>-'|\ '>|'|\ @@ -1546,9 +1546,9 @@ out-redirect: '>-'|\ '>=' |\ '>+' |\ '>&' ('1'|'2')|\ - '>'{':'?'/'?}'~'? |\ - '>>'{':'?'/'?}'~'? |\ - '>>>' + ('>?'|'>>>') |\ + ('>>?'|'>>'){':'?'/'?}'~'? |\ + ('>>>?'|'>'){':'?'/'?}'~'? here-document: * @@ -1866,9 +1866,9 @@ $* a1>- \ in-redirect: '<-'|\ '<|'|\ - '<'{':'?'/'?} |\ - '<<'{':'?'/'?} |\ - '<<<' + ('<='|'<<<') |\ + ('<<='|'<<'){':'?'/'?} |\ + ('<<<='|'<'){':'?'/'?} \ The \c{stdin} data can come from a pipe, here-string (\c{<}), here-document @@ -1905,9 +1905,9 @@ out-redirect: '>-'|\ '>=' |\ '>+' |\ '>&' ('1'|'2')|\ - '>'{':'?'/'?}'~'? |\ - '>>'{':'?'/'?}'~'? |\ - '>>>' + ('>?'|'>>>') |\ + ('>>?'|'>>'){':'?'/'?}'~'? |\ + ('>>>?'|'>'){':'?'/'?}'~'? \ The \c{stdout} and \c{stderr} data can go to a pipe (\c{stdout} only), file -- cgit v1.1