Thread: Re: Need Suggestions

Started: 2012-09-28 23:59:56
Last activity: 2012-09-28 23:59:56
Topics: SAC Help
Juan Payero
2012-09-28 23:59:56
Hello Mohit,
You can use: "pause period off" or "pause period 20"

Hello SAC Users,

I am writing a bash shell script in which I am opening SAC to do some
on my data and then I want to plot the result to look at it for some time
by giving pause command but the script is not holding itself and keep
running. The portion of the script is like this

echo "Please enter the name of Vertical component with extension .BHZ: "
read numerator
echo "Please enter the name of Radial component with extension .BHR: "
read denominator
echo "Please enter the value of gaussian width : "
read width
echo $numerator >>
echo $denominator >>
echo '2' >>
echo '200' >>
echo '20' >>
echo '0.00001' >>
echo $width >>
echo '1' >>
echo '1' >>
iterdeconfd_orig.x <
sac << EOF
r decon_S.out
mul -1
w over
pause(){read -p "Press [Enter] key to continue..." fackEnterKey}

I tried to do this with " pause 20s " but same probem occurred. It is not
letting me to look at plot.


*Mohit Agrawal
PhD Candidate | Research Assistant | Geophysics (Computational Seismology)
Dept. of Geology | Baylor University
Geophysics Lab, E453R | Baylor University Sciences Building (BSB) |
Phone- 254-710-2172 ( lab), 254-710-2155(office), 281-460-8941(Personal)
Email : mohit_agrawal<at>, ism21.mohit<at>
Home Address : Apt # 207, 1500 s, 9th street, 76706, Waco, Texas, USA.*
sac-help mailing list

Dr. Juan S. Payero de Jesús.
Telf. (5255) 5622-4126
(52155)2310-1163 cel
DF, México.

Skype : payerojeju
email alterno: juan_payero_dejesus<at>

17:57:11 v.22510d55