Someone had asked: -
if you have a command that returns two values, can you assign each value to a separate variable? For example, I have a command that returns two lines, and I want NAME to be set to the first line and TITLE to the second line. I seem to recall doing this in the past, but I can’t find an example or a note on it.
which made me think about how one might achieve this
I'm using zsh, and looked at dumping the output from a command into an array
I started with the sw_vers command: -