Bash Split First Occurrence Leetcode 752