Hi,<br><br>I still could not solve this one, but I heard from someone else who has the same problem.<br>I just found out that it works with Sac 100.0 but not with 100.1.<br><br>sac &lt;&lt; eof<br>funcgen seis<br>w test<br>
eof<br><br>I get the file on my harddisk and end up back in my terminal with sac 100, but if i try the above with sac 100.1 it does not work.<br><br><div><span class="gmail_quote">On 10/10/06, 
<b class="gmail_sendername">andreas wessel</b> &lt;<a href="mailto:awbochum@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">awbochum@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm trying to pass some commands to SAC with &lt;&lt;<br>But all I get is the SAC startup lines:<span><br>
</span></blockquote></div><br>I'm passing the commands to sac through a file now. The downsite of this is that you have to create a file for every operation that is done in sac.<br>

<br>#!/bin/sh<br>/usr/local/bin/sac /seismo/macros/test.init $1 &nbsp;&nbsp;&nbsp; &lt;------- here I'm passing the sac commands in test.init<br># end of test<br>exit 0<br><br>Is there any way to make the command passing work in Sac 100.1
?<br><br>Thanks, <br>Andreas<br><br><br><br><br><br><br>