Re: shopt -u compat* (re)sets BASH_COMPAT to 51

2022-02-14 Thread Mihai Moldovan
* On 2/13/22 10:50 PM, Chet Ramey wrote: > H. So what you're proposing is that `shopt -u compat43' if compat43 is > not set should not reset the compatibility level to the current version. > OK. > > I think we could do this by interrogating $BASH_COMPAT after unsetting the > appropriate compat

shopt -u compat* (re)sets BASH_COMPAT to 51

2022-02-12 Thread Mihai Moldovan
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: x86_64-pc-linux-gnu-gcc Compilation CFLAGS: -march=native -mtune=native -Wall -pipe -g3 -ggdb3 -gdwarf-4 -O2 -fno-omit-frame-pointer uname output: Linux apgunner 5.15.11 #