On Tue, Jan 10, 2017 at 01:10:53AM +0100, foo fighter wrote:
> mapfile -t _array <<<"${_inputstring// /$'\n'}"
For larger inputs, this will probably be more efficient:
mapfile -t _array < <(your command | tr ' ' '\n')
Bash's substitution can be rather slow on large strings.