Oct. 28, 2012
6:29 a.m.
On 10/27/2012 02:06 AM, Mike Frysinger wrote:
+ eval echo \""$b$c) \${$c}"\" >&2
That looks pretty tricky. How about if we just default to Bash instead? Pretty much everybody has Bash if they don't have ksh, and if they're on a platform that's likely to want to run this script. Another possibility is an early part of the script that looks for a shell where 'select' works, and then reexecutes the script with that shell.