a POSIX-compliant implementation of arrays in 17 lines of shell.