Re: Another ^A bug

2018-11-29 Thread Chet Ramey
On 11/20/18 9:24 AM, Martijn Dekker wrote: > That ^A / $'\1' character just keeps causing trouble... > > This is a bug with IFS. Including a $'\1' character anywhere in IFS causes > expansions in shell assignments to discard that character. > > $ bash -c "c=$'Y\1Y'; >     for IFS in $'\1' $'\2'

Re: [bug-bash] Bash-5.0-beta2 available for download

2018-11-29 Thread Dr. Werner Fink
On Tue, Nov 27, 2018 at 01:24:38PM -0500, Chet Ramey wrote: > The second beta release of bash-5.0 is now available with the URL > > ftp://ftp.cwru.edu/pub/bash/bash-5.0-beta2.tar.gz > I see this [ 2709s] seq.c: In function 'long_double_format': [ 2709s] seq.c:166:9: error: expected ';' before

Re: [bug-bash] Bash-5.0-beta2 available for download

2018-11-29 Thread Chet Ramey
On 11/29/18 7:09 AM, Dr. Werner Fink wrote: > On Tue, Nov 27, 2018 at 01:24:38PM -0500, Chet Ramey wrote: >> The second beta release of bash-5.0 is now available with the URL >> >> ftp://ftp.cwru.edu/pub/bash/bash-5.0-beta2.tar.gz >> > I see this > > [ 2709s] seq.c: In function

Re: Optimisation request

2018-11-29 Thread Chet Ramey
On 11/26/18 1:29 PM, Martijn Dekker wrote: > I've noticed bash-5.0beta is quite a bit faster than bash-4.4 in running a > lot of pure shell code. Good news. > > One optimisation that isn't done yet: if a subshell function like > > f() (foo) > > is used in a command substitution, it forks