bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Assign Default Value expansion inserts ASCII DEL for empty 'word'


From: Chet Ramey
Subject: Re: Assign Default Value expansion inserts ASCII DEL for empty 'word'
Date: Tue, 10 Mar 2020 10:47:29 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

On 3/9/20 3:29 PM, Martin Castillo wrote:

> Bash Version: 5.0
> Patch Level: 16
> Release Status: release
> 
> Description:
> Out of nowhere, bash inserts an ascii DEL in the first expansion. That
> is very unexpected and shouldn't be there.

Thanks for the report. This happens in the case where the expansion assigns
a quoted null string and there is something else (non-null) in the expanded
string. I'll fix it in the next devel branch push.

Chet


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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]