Bash Split String Into Array And Iterate