Normally one would frown upon intentionally programming an infinite loop, but that is exactly what I need to prevent a shell script from exiting ...
ubuntuforums.org