--- title: "$SHEval" ---
This is generated from the built in components of Otter 2024.0, and may be different than what you have installed (especially if you have extensions); go to [Gear Icon] -> Administration -> Functions within your Otter instance to see exactly what operations are available.

Returns the output of a shell script.

Script usage:

$SHEval(ScriptText)

Parameters:

NameDescription
ScriptTextThe shell script to execute. This should be an expression.

Example:


# set the $NextYear variable to the value of... next year
set $ShellScript = >>
date -d next-year +%Y
>>;
set $NextYear = $SHEval($ShellScript);
Log-Information $NextYear;