JetCore/tests/testcall.jet

19 lines
487 B
Plaintext
Executable File

#!../jet-2.0
<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="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>