Bash Script Using An Array As Abstract