Bash Script Array Variable Length Instructions For Form