pda/testdata/template-shell.ct

5 lines
156 B
XML

# Shell function executes a command and returns stdout
$ fecho tpl1 {{ shell "echo hello" }}
$ pda set shelltest@tpls < tpl1
$ pda get shelltest@tpls
hello