Re: Inconsistent treatment of left-hand side of conditional expression where IFS is not its default value

2024-02-18 Thread Lawrence Velázquez
On Sun, Feb 18, 2024, at 5:03 PM, Kerin Millar wrote: > Hi, > > This report stems from the discussion at > https://lists.gnu.org/archive/html/help-bash/2024-02/msg00085.html. > > Consider the following two cases. > > $ ( set a -- b; f=+ IFS=$f; [[ $f$*$f == *"$f--$f"* ]]; echo $? ) > 0 > > $ (

Inconsistent treatment of left-hand side of conditional expression where IFS is not its default value

2024-02-18 Thread Kerin Millar
Hi, This report stems from the discussion at https://lists.gnu.org/archive/html/help-bash/2024-02/msg00085.html. Consider the following two cases. $ ( set a -- b; f=+ IFS=$f; [[ $f$*$f == *"$f--$f"* ]]; echo $? ) 0 $ ( set a -- b; f=$'\1' IFS=$f; [[ $f$*$f == *"$f--$f"* ]]; echo $? ) 1 It

Re: possible bash bug bringing job. to foreground

2024-02-18 Thread John Larew
I was unaware of TMOUT. Now I have a backup as well. Thanks for tolerating my inexperience. On Sat, Feb 17, 2024 at 2:54 PM, Greg Wooledge wrote: On Sat, Feb 17, 2024 at 07:41:43PM +, John Larew wrote: > After further examination, the examples with "fg $$" and "fg $!" clearly do >