Bash Script Split String Into Variables On Both Side