[SAC-HELP] Initialization macro

Mei Xue meixue.geo at gmail.com
Mon Jun 1 01:50:19 PDT 2009


Hi Shahar,

You may try:
alias sac 'sac m sac/macro/init.m'

see if it works.

Mei


2009/6/1 Shahar Kadmiel שחר קדמיאל <kadmiel at bgu.ac.il>:
> Hi,
>
> I am trying to run an initialization macro as sac starts up.
> I have created an init.m macro file in the /sac/macro directory and I am
> able to run it from within sac by executing the following two commands:
>
> SETMACRO sac/macro
> MACRO init.m
>
> I tried aliasing sac like this:
>
> alias sac='sac sac/macro/init.m'
>
> but it doesn't work and I don't think that it should but this is what it
> says to do in the README file for SAC so I tried.
>
> How do I make something run as I call up sac?
>
> Thanks
>
> Shahar
> _______________________________________________
> sac-help mailing list
> sac-help at iris.washington.edu
> http://www.iris.washington.edu/mailman/listinfo/sac-help
>




More information about the sac-help mailing list