Pausing a script (like MSDOS pause command)
From the example section of the read command, something that acts similar to the MSDOS pause
command:
pause() { local dummy read -s -r -p "Press any key to continue..." -n 1 dummy }
You could leave a comment if you were logged in.