Search Results

Search: Posts Made By: hilltop_yodeler
12,835
Posted By hilltop_yodeler
Thank you all for your assistance - I really...
Thank you all for your assistance - I really appreciate it. Things seem to be running smoothly at this point and are to my liking. Here is the finished version of the script:


#!/bin/bash
...
12,835
Posted By hilltop_yodeler
That's good to know, thank you. I looked at the...
That's good to know, thank you. I looked at the man page and did not see how to reset the trap. After some googling, I think that a trap reset might look something like this?

trap - SIGINT...
12,835
Posted By hilltop_yodeler
Thanks port43! Although this method does not...
Thanks port43! Although this method does not accomplish what I had hoped to do in terms of "listening" for user input (pressing 'q' for quit), exiting the script with CTRL+c instead will work just...
12,835
Posted By hilltop_yodeler
Bash Question: HowTo Exit Script with User Input While Process is Running Mid-Loop?
Thank you chacko193. I read the "trap" manpage and thought that it might work, but perhaps I'm not using it correctly... although it allows CTRL+c to exit the script, it also only allows the audio...
12,835
Posted By hilltop_yodeler
Bash Question: HowTo Exit Script with User Input While Process is Running Mid-Loop?
Hi, I have written a script that allows me to repetitively play a music file $N times, which is specified through user input. However, if I want to exit the script before it has finished looping $N...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 06:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy