From a9439b66ad8f7a8f4ba079a47ecfe1e76c2abc4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Fri, 4 Sep 2026 19:25:09 +0200 Subject: Expression expansion for shell arguments Changelog: Lists can now be dollar-expanded in the shell interpreter to provide list of shell command arguments. --- test/asset/shell/expansion.et | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/asset/shell/expansion.et (limited to 'test/asset/shell') diff --git a/test/asset/shell/expansion.et b/test/asset/shell/expansion.et new file mode 100644 index 0000000..050efba --- /dev/null +++ b/test/asset/shell/expansion.et @@ -0,0 +1,13 @@ +test Test: + node n + + let str = "some string" + let int = 2 + let num = 4.5 + let list = [ "a b", "c d", "e", "f" ] + let ilist = [ 1 .. 5 ] + + shell on n as sh: + echo A $str B $int $num C + echo D $list E + echo F $ilist G -- cgit v1.2.3