Good evening,<br><br>I'm trying to pass some commands to SAC with &lt;&lt;<br>But all I get is the SAC startup lines:<br><br>&nbsp;SEISMIC ANALYSIS CODE [06/06/2005 (Version 100.1)]<br>&nbsp;Copyright 1995 Regents of the University of California
<br><br>.. and a blinking cursor a few lines below. All I can do then is kill the script with Ctrl+C.<br>I am running a minimal example. I get the &quot;echo start&quot;, it's only the SAC part that causes trouble.<br><br>
#!/bin/sh<br>echo start<br>sac&lt;&lt;eof<br>r test.e<br>p<br>q<br>eof<br>exit 0<br><br>I also tried csh instead of sh, but that didn't help.<br>Are there any environmental things besides SACAUX I need to consider?<br><br>
Thanks,<br>Andreas<br><br><br><br>