Re: Segfault with set -o emacs in -c

2022-12-19 Thread Chet Ramey
On 12/18/22 1:35 AM, Harald van Dijk wrote: Bash Version: 5.2 Patch Level: 12 Release Status: release Description: bash segfaults if 'set -o emacs' is run when it is executing a command string. You might win the prize for oldest bug reported. This is easily over 30 years old. I suppose

Re: Segfault with set -o emacs in -c

2022-12-18 Thread Emanuele Torre
On Sun, Dec 18, 2022 at 06:35:45AM +, Harald van Dijk wrote: > The assumption here, that if (interactive), input is coming from > stdin, does not hold when running bash -ic. > > Repeat-By: > bash -ic 'set -o emacs' Wow, this is a very old bug. I think this 2.04 bug report fr