<html><head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000"><br>
<br>
Steve VanSlyck wrote:
<blockquote
cite="mid:1431737655.3377730.270091297.38DFB823@webmail.messagingengine.com"
type="cite">
<title></title>
<div>Hi Rick.<br></div>
<div> </div>
<div>Here are the lines from the script:<br></div>
<div> </div>
<div># Install the dialog utility<br></div>
<div>read -p "Invisible Island's dialog utility will be installed. See
<a moz-do-not-send="true" href="http://invisible-island.net/dialog">http://invisible-island.net/dialog</a>
."<br></div>
<div>sleep 2s # or ping localhost -c 2 -i 2 > null<br></div>
<div>yum -y install dialog<br></div>
</blockquote>
Right, so the reason it is pausing is because of your read command.
That line is waiting for an EOF, which comes when you finally hit enter.<br>
<br>
<a class="moz-txt-link-freetext" href="http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_08_02.html">http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_08_02.html</a><br>
<blockquote
cite="mid:1431737655.3377730.270091297.38DFB823@webmail.messagingengine.com"
type="cite">
<div>(I cannot send to /dev/null because that requires sudo and that's
a pain for testing.)</div>
</blockquote>
Uh ...? That doesn't sound right -or- like a badly configured host for
this reason:<br>
<br>
<a class="moz-txt-link-freetext" href="http://man7.org/linux/man-pages/man4/null.4.html">http://man7.org/linux/man-pages/man4/null.4.html</a><br>
<br>
NOTES:<br>
If these devices are not writable and readable for all users,
many<br>
programs will act strangely.<br>
<br>
What makes you think /dev/null is not writable?<br>
<br>
<br>
<blockquote
cite="mid:1431737655.3377730.270091297.38DFB823@webmail.messagingengine.com"
type="cite">
<div>For each one, execution stops until I press <enter><br></div>
<div> </div>
<div> </div>
<div> </div>
<div>On Fri, May 15, 2015, at 20:44, Rick Hornsby wrote:<br></div>
<blockquote type="cite"><div> </div>
<div> </div>
<div>
Steve VanSlyck wrote:<br></div>
<blockquote type="cite"
cite="mid:1431736629.3373250.270086025.0838AA44@webmail.messagingengine.com"><div>I'd
tried sleep 3s after trying sleep 3, which didn't work.<br></div></blockquote><div> </div>
<div>
Need more context. Sleep is the correct command for pausing.<br></div>
<div> </div>
<div> </div>
<div>
./sleep_test.sh<br></div>
<div>
Fri May 15 19:41:57 CDT 2015<br></div>
<div>
Fri May 15 19:42:00 CDT 2015<br></div>
<div>
aztec:bin rhornsby$ cat sleep_test.sh<br></div>
<div>
#!/bin/bash<br></div>
<div>
date<br></div>
<div>
sleep 3<br></div>
<div>
date<br></div>
<div> </div>
<blockquote type="cite"
cite="mid:1431736629.3373250.270086025.0838AA44@webmail.messagingengine.com"><div> </div>
<div>Unfortunately your corrected ping local host doesn't work eether.
Want's me to press <enter>.<br></div>
<div> </div>
<div> </div>
<div>On Fri, May 15, 2015, at 20:32, Mike Plemmons wrote:<br></div>
<blockquote type="cite"><p dir="ltr">Try <br>
sleep 3<br>
ping localhost -c 2 -I 3 > /dev/null</p><div><div>On May 15, 2015
8:24 PM, "Steve VanSlyck" <<a moz-do-not-send="true"
href="mailto:s.vanslyck@postpro.net">s.vanslyck@postpro.net</a>>
wrote:<br></div>
<blockquote
style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,
204, 204);border-left-style:solid;padding-left:1ex;"><div> </div>
<div><div>I tried both of these in my script and neether one would
continue.<br></div>
<div> </div>
<div>Both worked fine at the command line.<br></div>
<div> </div>
<div>Hints?<br></div>
<div> </div>
<div>sleep 3s<br></div>
<div> </div>
<div>ping localhost -c 2 -i 3 > nul<br></div>
<div> </div>
</div>
<div> </div>
<div>_______________________________________________<br></div>
<div>colug-432 mailing list<br></div>
<div><a moz-do-not-send="true" href="mailto:colug-432@colug.net">colug-432@colug.net</a><br></div>
<div><a moz-do-not-send="true"
href="http://lists.colug.net/mailman/listinfo/colug-432">http://lists.colug.net/mailman/listinfo/colug-432</a><br></div>
<div> </div></blockquote></div>
<div><u>_______________________________________________</u><br></div>
<div>colug-432 mailing list<br></div>
<div><a moz-do-not-send="true" href="mailto:colug-432@colug.net">colug-432@colug.net</a><br></div>
<div><a moz-do-not-send="true"
href="http://lists.colug.net/mailman/listinfo/colug-432">http://lists.colug.net/mailman/listinfo/colug-432</a><br></div></blockquote><div> </div>
<pre>_______________________________________________
colug-432 mailing list
<a moz-do-not-send="true" href="mailto:colug-432@colug.net">colug-432@colug.net</a> <a moz-do-not-send="true" href="http://lists.colug.net/mailman/listinfo/colug-432">http://lists.colug.net/mailman/listinfo/colug-432</a>
</pre></blockquote><div><u>_______________________________________________</u><br></div>
<div>colug-432 mailing list<br></div>
<div><a moz-do-not-send="true" href="mailto:colug-432@colug.net">colug-432@colug.net</a><br></div>
<div><a moz-do-not-send="true"
href="http://lists.colug.net/mailman/listinfo/colug-432">http://lists.colug.net/mailman/listinfo/colug-432</a><br></div></blockquote>
<div> </div>
<pre wrap="">_______________________________________________
colug-432 mailing list
<a class="moz-txt-link-abbreviated" href="mailto:colug-432@colug.net">colug-432@colug.net</a>
<a class="moz-txt-link-freetext" href="http://lists.colug.net/mailman/listinfo/colug-432">http://lists.colug.net/mailman/listinfo/colug-432</a>
</pre>
</blockquote>
</body></html>