From d8b7a4e509a641ea2949646c5a3577bc848fea30 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Fri, 10 Nov 2023 15:07:52 +0700 Subject: script: respect spaces when joining multi lines command If a multi lines command does not have spaces or have multiple spaces, join them as is. For example, a\ b should return the value as "ab", while a \ b should return "a b". --- testdata/script_joinStatements_test.data | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 testdata/script_joinStatements_test.data (limited to 'testdata') diff --git a/testdata/script_joinStatements_test.data b/testdata/script_joinStatements_test.data new file mode 100644 index 0000000..67a36b9 --- /dev/null +++ b/testdata/script_joinStatements_test.data @@ -0,0 +1,14 @@ +Test data for script joinStatements. + +>>> case_0 + +a +b \ +c +d \ +e \ +f +g\ +h,i +j\ + k -- cgit v1.3