script bash expandir la cadena en espacios

readarray -t -d '' myStr < <(xargs printf '%s\0' <<<"$myStr")
Brian Patterson