Bash Split First Occurrence Leetcode 75