July 20, 2014
11:01 a.m.
If BASH_VERSION is not set, then tzselect.ksh performs a test in which it attmepts to use the select command, to see whether the select command is available: 84: (eval 'set --; select x; do break; done; exit') 2>/dev/null In the case that the shell is not bash, but the select command is available, then the select command reads a line of input. This is confusing for users, who don't even see a prompt. The attached patch fixes this by redirecting input from /dev/null. I also quoted some variables on general principles. --apb (Alan Barrett)