Added ability for call tag to use container as input stream.

This commit is contained in:
brad Arant committed 2025-11-07 19:35:07 -08:00
1 parent bdbae9e397
commit 96302e1d27
2 files changed
+23 -5

No files matched your search

+9 -2
View File
@@ -1,11 +1,18 @@
#!../jet-2.0
<jet name1="localname" filterblanklines="true" trimlines="true">
<jet name1="localname" filterblanklines="false" trimlines="true">
<set name="abc" value="abcdefg" />
<call pgm="cat" error="error" input="$[abc]xyz" name="test1" />
test1=$[test1]
name1=$[%name1]
error=$[error]
<call error="rc" pgm="/usr/bin/ls" arg1="-al" />
<call error="rc" pgm="ls" arg1="-al" />
$[rc]
<call pgm="cat" filterblanklines="false">
From: barant@barant.com
To: brad.arant@gmail.com
Subject: This is a test email.
This is a test email being sent from a jet script with a single
call command.
</call>
</jet>