I am writing a ksh script in cygwin though it could just as easily be bash and am trying to make an alert for myself where the bell rings many times like
print '\a'
or
echo '^G'
except I want it to ping me many times not just once. For some reason doing
print '\a\a\a\a\a\a\a\a\a\a'
or similar doesn't work and I don't want a scenario where I am doing a loop around something like
print '\a'
sleep 1'
as the pause is not wanted. Is there any easy way to do it?
I already tried a loop and it didn't work. The bell rings once. In fact my loop was almost identical to yours. Googling around had me find a line like this:
Thank you for all your responses. I think the fraction of a second pauses will work for me. For some reason I thought the minimum time for sleep was 1s but 0.1s should be okay.