Bash Array Index With Page