Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16006

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

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Assign Default Value expansion inserts ASCII DEL for empty 'word'
Date 2020-03-10 10:47 -0400
Message-ID <mailman.2401.1583851667.2412.bug-bash@gnu.org> (permalink)
References <5ad25080-7c13-9b9c-cff6-12ffee7afeb8@uni-bremen.de> <36619484-2922-9449-c024-87838209428f@case.edu>

Show all headers | View raw


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/

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: Assign Default Value expansion inserts ASCII DEL for empty 'word' Chet Ramey <chet.ramey@case.edu> - 2020-03-10 10:47 -0400

csiph-web