[SAC-HELP] Passing commands to SAC using sac<<eof
andreas wessel
awbochum at gmail.com
Tue Oct 10 03:30:39 PDT 2006
Good evening,
I'm trying to pass some commands to SAC with <<
But all I get is the SAC startup lines:
SEISMIC ANALYSIS CODE [06/06/2005 (Version 100.1)]
Copyright 1995 Regents of the University of California
.. and a blinking cursor a few lines below. All I can do then is kill the
script with Ctrl+C.
I am running a minimal example. I get the "echo start", it's only the SAC
part that causes trouble.
#!/bin/sh
echo start
sac<<eof
r test.e
p
q
eof
exit 0
I also tried csh instead of sh, but that didn't help.
Are there any environmental things besides SACAUX I need to consider?
Thanks,
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/sac-help/attachments/20061010/3ef772f6/attachment.html>
More information about the sac-help
mailing list