Re: Simple sleep scripts causes SEGFAULT

2017-10-25 Thread Robert Elz
Date:Wed, 25 Oct 2017 21:21:23 -0700 From:Alex Coffin Message-ID: | Run the following script (assuming you trust me lol): | function sleep { | local dur | dur="$1" | # if replaced with "echo" no segfault. | sleep ${dur}s

Re: Simple sleep scripts causes SEGFAULT

2017-10-25 Thread Eduardo Bustamante
On Wed, Oct 25, 2017 at 11:21 PM, Alex Coffin wrote: [...] > Description: > Segmentation fault. I'm honestly not sure why. I was using batsh to > make a simple script. When I ran it generated a segfault. The segmentation > fault DOES NOT occur if "sleep" is replaced with "echo". > I also r

Simple sleep scripts causes SEGFAULT

2017-10-25 Thread Alex Coffin
I couldn't get bashbug to send this, so I manually am emailing it. "/usr/bin/bashbug: rmail: not found" Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux

Re: ctrl-w oddity on bash-4.4

2017-10-25 Thread Robert Elz
Date:Wed, 25 Oct 2017 10:45:11 -0400 From:Chet Ramey Message-ID: <6751ad10-cccb-0467-a751-c5be8e745...@case.edu> | If you read the discussion in the thread I pointed to last night, `real' | vi supposedly does this kind of thing. I'm not enough of a vi user to |

Re: ctrl-w oddity on bash-4.4

2017-10-25 Thread Chet Ramey
On 10/25/17 10:37 AM, Aron Griffis wrote: > > > On Wed, Oct 25, 2017 at 9:48 AM, Chet Ramey > wrote: > > On 10/22/17 6:52 PM, Aron Griffis wrote: > > I'm seeing some strange behavior and don't know if it's a bug or > intended. > > > > Reproducer: >

Re: ctrl-w oddity on bash-4.4

2017-10-25 Thread Aron Griffis
On Wed, Oct 25, 2017 at 9:48 AM, Chet Ramey wrote: > On 10/22/17 6:52 PM, Aron Griffis wrote: > > I'm seeing some strange behavior and don't know if it's a bug or > intended. > > > > Reproducer: > > 1. env INPUTRC=/dev/null bash --norc > > 2. set -o vi > > 3. true --foo=bar > > 4. up arrow, then

Re: ctrl-w oddity on bash-4.4

2017-10-25 Thread Eduardo A . Bustamante López
On Wed, Oct 25, 2017 at 09:48:14AM -0400, Chet Ramey wrote: > On 10/22/17 6:52 PM, Aron Griffis wrote: > > I'm seeing some strange behavior and don't know if it's a bug or intended. > > > > Reproducer: > > 1. env INPUTRC=/dev/null bash --norc > > 2. set -o vi > > 3. true --foo=bar > > 4. up arrow,

Re: ctrl-w oddity on bash-4.4

2017-10-25 Thread Chet Ramey
On 10/22/17 6:52 PM, Aron Griffis wrote: > I'm seeing some strange behavior and don't know if it's a bug or intended. > > Reproducer: > 1. env INPUTRC=/dev/null bash --norc > 2. set -o vi > 3. true --foo=bar > 4. up arrow, then left arrow to put the cursor on the equals sign > 5. press ctrl-w, not