On 11/18/14, 12:50 AM, Eduardo A. Bustamante López wrote:
> Hi Chet,
>
> It seems like the variable name validation for the mapfile builtin is a bit
> wrong. I hope the patch below fixes it.
Thanks for the report. The fix looks right.
Chet
--
``The lyf so short, the craft so long to lerne.''
Hi Chet,
It seems like the variable name validation for the mapfile builtin is a bit
wrong. I hope the patch below fixes it.
Demonstration:
| dualbus@hp ...local/src/bash % : before patch
| dualbus@hp ...local/src/bash % /bin/bash -c 'mapfile -t "a[\$(ls)]" <<< "";
declare -p'|grep -F '[$('
| d