<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Mai,<div class=""><br class=""></div><div class="">if you scape the (,</div><div class=""><br class=""></div><div class="">write</div><div class=""><br class=""></div><div class="">sc echo "l %xc% \( %yc% + 0.01 \ ) " >> split.pcf</div><div class=""><br class=""></div><div class="">HTH,</div><div class=""><br class=""></div><div class="">M.</div><div class=""><br class=""><div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div class="">* * * * * * * * * * * * * * * * * * * * * * *</div><div class="">Milton P. PLASENCIA LINARES</div><div class=""><br class=""></div><div class="">Centro di Ricerche Sismologiche (CRS)</div>OGS - Istituto Nazionale di Oceanografia e di Geofisica Sperimentale <div class=""><br class=""></div><div class="">Borgo Grotta Gigante 42/C</div><div class="">(34010) Sgonico - Trieste - Italia</div><div class="">Tel: +39 040 2140 141 (Udine)</div><div class="">Tel: +39 040 2140 256 (Trieste)</div><div class="">Cel.: +39 331 6481 935</div><div class=""><br class=""></div><div class="">E-mail: <a href="mailto:mplasencia@inogs.it" class="">mplasencia@inogs.it</a></div><div class=""><br class=""></div><div class="">ASAIN (Antarctic Seismographic Argentinean Italian Network)</div><div class="">*********************************</div><div class=""><br class=""></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline"><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Jan 23, 2015, at 04:20, Mei Xue <<a href="mailto:meixue.geo@gmail.com" class="">meixue.geo@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">I am wondering if anyone can help me with the following problem: <br class=""><br class="">After I installed the latest version of SAC (101.6 for X86-64) I found that a piece of my SAC macro codes didn't work and which worked and still works well in the older version of SAC (101.3b for X86-64). The piece of codes and their corresponding output the two versions of SAC are as the following:<br class=""><br class="">101.3b version:<br class=""><br class="">setbb log " ( concatennate &1,kstnm& .split ) "<br class="">message "%log%"<br class="">HY16.split<br class=""><br class="">101.6a version:<br class="">setbb log " ( concatennate &1,kstnm& .split ) "<br class="">message "%log%"<br class="">( concatennate HY16 .split )<br class=""><br class="">Similarly,<br class=""><br class="">101.3b version:<br class="">sc echo "l %xc% ( %yc% + 0.01)" >> split.pcf<br class="">OUTPUT the following line into split.pcf:<br class="">l 0.53125 0.6611112<br class=""><br class="">Whereas for 101.6a version:<br class="">sc echo "l %xc% ( %yc% + 0.01)" >> split.pcf<br class="">OUTPUT the following error message:<br class="">sh: -c: line 0: syntax error near unexpected token `('<br class="">sh: -c: line 0: `echo l 0.53125 ( 0.651111 + 0.01) >> split.pcf '<br class=""><br class="">Thanks.<br class=""><br class=""></div>Mei<br class=""><br class=""><div class=""><div class=""><div class="gmail_extra"><div class="">Mei Xue<br class="">Global Seismology & Geodynamics<br class="">State Key Laboratory of Marine Geology<br class="">School of Ocean & Earth Science<br class="">Tongji University<br class="">Siping Rd, Yangpu District, Shanghai, China, 200092<br class=""> <br class=""><br class=""></div>
</div></div></div></div>
_______________________________________________<br class="">sac-help mailing list<br class=""><a href="mailto:sac-help@iris.washington.edu" class="">sac-help@iris.washington.edu</a><br class="">http://www.iris.washington.edu/mailman/listinfo/sac-help<br class=""></div></blockquote></div><br class=""></div></body></html>