a posix-compliant implementation of arrays in 18 lines of shell.