<font style="color: rgb(0, 0, 0);" color="#ff0000">Hi list,<br><br>Following <a href="http://www.iris.edu/manuals/sac/SAC_Manuals/SACMacros.html">http://www.iris.edu/manuals/sac/SAC_Manuals/SACMacros.html</a> I am trying to execute a command from a SAC macro.
<br></font><font style="color: rgb(255, 255, 255);" color="#ff0000"></font><font style="color: rgb(0, 0, 0);" color="#ff0000">Here is what I found in the manual:<br>RUN program {message}
<br>
{inputlines}
<br>
ENDRUN<br><br>So I am using this minimal example in a macro called test.m:<br>RUN sh<br>echo hey<br>ENDRUN<br>q<br><br>And I get: <br>SAC&gt; m test.m<br>sh: RUN: command not found<br><br>I am using sac 100.01 for Linux.
<br>Any ideas?<br><br>Thanks,<br>Andreas<br><br><br><br><br><br></font>