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

2020-03-10 Thread Chet Ramey
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 t

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

2020-03-09 Thread Robert Elz
Date:Mon, 9 Mar 2020 20:28:30 +0059.55 From:Martin Castillo Message-ID: <5ad25080-7c13-9b9c-cff6-12ffee7af...@uni-bremen.de> | Repeat-By: | $ unset foo bar | $ echo "${foo:=}/baz:${foo}/bat"|xxd | : 7f2f 6261 7a3a 2f62 6174 0a ./baz:/bat.

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

2020-03-09 Thread Martin Castillo
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DDEFAULT_PATH_VALUE='/usr/local/sbin:/usr/local/bin:/usr/bin' -DSTANDARD_UTILS_PATH='/usr/bin' -DSYS_BASHRC='/etc/bash