How to split blocks of terminal output into array elements that can be looped over

后端 未结 0 1685
孤城傲影
孤城傲影 2021-01-18 10:22

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题