Re: memory leak in bash only during boot up in Bash-3.2.48

2018-12-22 Thread ABHISHEK PALIWAL
Hi Chet, >What is the hard limit on the number of processes for a process started in >this environment? (The value of `ulimit -n'.) Here are the Hard and soft limits for open files and max user processes. root@localhost:/root> ulimit -Hn 1024 root@localhost:/root> ulimit -Hu 516046 root@localhost

Re: Error on arithmetic evaluation of `~0`.

2018-12-22 Thread Chet Ramey
On 12/19/18 10:31 PM, Bize Ma wrote: > This is the third time I am reporting this issue. Not really, but let's go on. > > This fails: > > var=(hello); echo "${var[~0]}" > syntax error: operand expected ... Yes. The comment in the code says: "Right now, the code suppresses tilde expansion whe

Re: Error on arithmetic evaluation of `~0`.

2018-12-22 Thread Chet Ramey
On 12/20/18 8:12 AM, Greg Wooledge wrote: > The issue you're reporting appears to be present in arithmetic contexts > in general, not only arrays: > > wooledg:~$ echo $((~0)) > bash: /home/wooledg: syntax error: operand expected (error token is > "/home/wooledg") This is what was fixed post-bas