Bash Split First Occurrence Leetcode Premium