From 3fa1b103014bab51f8f257e1e12f27f7e498f42e Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 13 Sep 2019 20:57:00 +0300 Subject: Add support for builtin escaping to command running API --- tests/command/testscript | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/command/testscript') diff --git a/tests/command/testscript b/tests/command/testscript index db9bb5c..12ddd79 100644 --- a/tests/command/testscript +++ b/tests/command/testscript @@ -184,4 +184,14 @@ end { $* -p 'echo abc >a' >'echo abc >a' &a } + + : escape + : + : Note that the sed builtin doesn't support multiple scripts. + : + if ($cxx.target.class != 'windows') + { + echo 'abc' >=f; + $* '^sed -e s/a/b/ -e s/c/b/ f' >'bbb' + } } -- cgit v1.1