On Tue, 21 Jun 2011, Chet Ramey wrote:
declare -A foo
read -a foo <<
Yes. It certainly shouldn't crash the shell. Try the attached patch and
let me know that it works for you. Thanks for the report.
Yep, thanks. Verified no segfault; only the error. Tested on 4.0, 4.1, and
4.2 in F
> I did a stupid thing. Tried to read into an array--which is indexed--but
> the variable is already an associative array.
>
>declare -A foo
>read -a foo <<
> The above should error instead of Segfault, yes?
Yes. It certainly shouldn't crash the shell. Try the attached patch and
let m