I want to store the output of a Bash command in an Automic variable in Automic 12.1. I browsed these community pages and saw a few references to REGISTER_VARIABLE. I wrote a script to test this and am not quite getting the result I expect.
:DEFINE &TEST#, string
:PRINT "Variable output: &TEST#"
In my report, I see the following message:
Registered variable: 'T' TEST#=[valid path]
However, the &TEST# variable appears to still be empty as the PRINT function only printed
I'm new to Automic, so there's probably just something simple I'm missing.
Thanks in advance.