Re: set -e in subshell

2020-11-13 Thread Aron Griffis
On Fri, Nov 13, 2020 at 11:31 AM Chet Ramey wrote: > `set -e' doesn't have any effect on the LHS of an and-or list, and enabling > it has no effect. There have been many discussions about this. > Thanks Chet. I knew about this generally, but somehow thought subshell would be exempt. I will adjus

set -e in subshell

2020-11-13 Thread Aron Griffis
GNU bash, version 5.0.17(1)-release (x86_64-redhat-linux-gnu) $ (set -e; false; echo BANG) || echo whimper BANG $ (set -e; false; echo BANG); echo whimper whimper The || after the subshell seems to prevent set -e from being effective inside the subshell. Is this a bug or does it make sense in a

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. se

Re: ctrl-w oddity on bash-4.4

2017-10-22 Thread Aron Griffis
On Sun, Oct 22, 2017 at 10:08 PM, Eduardo A. Bustamante López < dual...@gmail.com> wrote: > On Sun, Oct 22, 2017 at 06:52:12PM -0400, Aron Griffis wrote: > > I'm seeing some strange behavior and don't know if it's a bug or > intended. > [...] > > If thi

ctrl-w oddity on bash-4.4

2017-10-22 Thread Aron Griffis
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, nothing happens I bisected master and found it was introduc

bash 4 patches

2009-06-18 Thread Aron Griffis
Hi, I noticed that patches 18-24 were released for bash-4.0 at ftp://ftp.cwru.edu/pub/bash/bash-4.0-patches/ on May 16 but I don't see any announcements in the bug-bash archive. Was this an intentional or inadvertent omission? Thanks, Aron

Re: BUG: bash-4.0.17 and SIGWINCH during initialization

2009-04-14 Thread Aron Griffis
Chet Ramey wrote: [Mon Apr 13 2009, 05:48:57PM EDT] > Try the attached patch and let me know how it works. Works for me on bash-4.0.17. Thanks Chet! Aron

Re: backgrounded children forgotten

2005-12-12 Thread Aron Griffis
Chet Ramey wrote: [Mon Dec 12 2005, 11:55:30AM EST] > I can't reproduce the problem with bash-3.1. Me neither. Sorry about that, I only tested 3.0.16 Regards, Aron -- Aron Griffis Gentoo Linux Developer ___ Bug-bash mailing list

Re: backgrounded children forgotten

2005-12-11 Thread Aron Griffis
ad #!/bin/bash output=$( ( exit 10 ) & pid=$! true & sleep 1 wait $pid echo $? >&2 ) $ ./demo-bad ./demo-bad: line 14: wait: pid 4046 is not a child of this shell 127 R

backgrounded children forgotten

2005-12-10 Thread Aron Griffis
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: x86_64-pc-linux-gnu-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/s

Re: problem with $(

2005-07-19 Thread Aron Griffis
Tatavarty Kalyan wrote: [Tue Jul 19 2005, 08:52:40AM EDT] > I was able to confirm this by running a small test program with libc > read and /proc/net/route. I did the same thing yesterday. Then I tried 2.6.13-rc3 and the problem is fixed. Seems it was a kernel issue. Aron

problem with $(

2005-07-15 Thread Aron Griffis
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: x86_64-pc-linux-gnu-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/s