From b0b048c03930b826ab3dbf88b56fd664fca26886 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 22 May 2020 15:32:31 +0300 Subject: Add script command redirect aliases --- doc/testscript.cli | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'doc/testscript.cli') diff --git a/doc/testscript.cli b/doc/testscript.cli index 6b47dad..665446e 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 @@ -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