title: Detect ksh array support in shell script
body: <p>Is it possible to write a <code>/bin/sh</code> shell script that detects whether or not the underlying shell supports ksh-style arrays? The latter are supported at least in ksh and bash, and in zsh with an option.</p>