Matthew R. Agius magi014 at um.edu.mt
Fri Jun 16 03:20:18 PDT 2006

Hi everyone,

I encountered a problem using MACROs.
I wrote a macro that takes two arguments: Filename and Filter. When i am 
run SAC2000 the macro works great:

SAC> MACRO HPfilter file 
sample1/2006. filter 0.1

When i run the same macro from the shell i encounter the following problem

[root at localhost functions]# sac2000 < HPfilter file 
sample1/2006. filter 0.1
 SEISMIC ANALYSIS CODE [06/12/2003 (Version 00.59.46)]
 Copyright 1995 Regents of the University of California

SAC> KEYS?  Segmentation fault

Is it possible to pass on key agurments from the system?

Thanks for your vital help,

Matthew Agius

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.iris.washington.edu/pipermail/sac-help/attachments/20060616/38498604/attachment.html>

More information about the sac-help mailing list