Just looking for the best practice method to split a multi line output such as you might get from a command or a curl request into an array of entries using Bash or Zsh