On 1/24/10 11:46 AM, Arfrever Frehtes Taifersar Arahesis wrote:

> Bash Version: 4.0
> Patch Level: 37
> Release Status: release
> 
> Description:
>       Subsequent `declare -fp` and `.` incorrectly restore function with here 
> string with pattern substitution.
> 
> Repeat-By:
>       The following function is incorrectly restored:
>       here_string_test() {
>               : <<< "${var// /$'\n'}"
>       }
> 
>       Run the attached bash_test.sh script using this command:
>       env -i bash_test.sh

Thanks for the report.  In this case, the here-string does not need to be
requoted.

Chet



-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/


Reply via email to