diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-04-28 08:48:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-05-27 15:47:28 +0200 |
commit | b808c255b6a9ddba085bf5646e7d20ec344f2e2d (patch) | |
tree | 32730291f7e6de8ef0a227905520dd66fb4ec0f3 /doc/testscript.cli | |
parent | 3552356a87402727e663131994fa87f48b3cd4fb (diff) |
Initial support for ad hoc recipes (still work in progress)
Diffstat (limited to 'doc/testscript.cli')
-rw-r--r-- | doc/testscript.cli | 28 |
1 files changed, 14 insertions, 14 deletions
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: '<-'|\ '<|'|\ - '<'{':'?'/'?} <text>|\ - '<<'{':'?'/'?} <here-end>|\ - '<<<' <file> + ('<='|'<<<') <file>|\ + ('<<='|'<<'){':'?'/'?} <here-end>|\ + ('<<<='|'<'){':'?'/'?} <text> out-redirect: '>-'|\ '>|'|\ @@ -1546,9 +1546,9 @@ out-redirect: '>-'|\ '>=' <file>|\ '>+' <file>|\ '>&' ('1'|'2')|\ - '>'{':'?'/'?}'~'? <text>|\ - '>>'{':'?'/'?}'~'? <here-end>|\ - '>>>' <file> + ('>?'|'>>>') <file>|\ + ('>>?'|'>>'){':'?'/'?}'~'? <here-end>|\ + ('>>>?'|'>'){':'?'/'?}'~'? <text> here-document: *<text> @@ -1866,9 +1866,9 @@ $* a1>- \ in-redirect: '<-'|\ '<|'|\ - '<'{':'?'/'?} <text>|\ - '<<'{':'?'/'?} <here-end>|\ - '<<<' <file> + ('<='|'<<<') <file>|\ + ('<<='|'<<'){':'?'/'?} <here-end>|\ + ('<<<='|'<'){':'?'/'?} <text> \ The \c{stdin} data can come from a pipe, here-string (\c{<}), here-document @@ -1905,9 +1905,9 @@ out-redirect: '>-'|\ '>=' <file>|\ '>+' <file>|\ '>&' ('1'|'2')|\ - '>'{':'?'/'?}'~'? <text>|\ - '>>'{':'?'/'?}'~'? <here-end>|\ - '>>>' <file> + ('>?'|'>>>') <file>|\ + ('>>?'|'>>'){':'?'/'?}'~'? <here-end>|\ + ('>>>?'|'>'){':'?'/'?}'~'? <text> \ The \c{stdout} and \c{stderr} data can go to a pipe (\c{stdout} only), file |