Bash Split First Occurrence Leetcode Two