Re: Bug with BASHOPTS and compatXX-Flags in 4.3 and 4.4 alpha

2016-02-21 Thread Chet Ramey
On 2/19/16 11:52 AM, Vehlow, Jörg wrote: > when the option compatXX iss et through BASHOPTS, shopt will report it tob > e set, but it is not applied. Thanks for the report and fix. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' -

Bug with BASHOPTS and compatXX-Flags in 4.3 and 4.4 alpha

2016-02-19 Thread Vehlow , Jörg
Hi, when the option compatXX iss et through BASHOPTS, shopt will report it tob e set, but it is not applied. A simple test case is: # compat31 enables the quoting of regular expressions bash -c ' [[ "1" =~ "[1]" ]]; echo $?' --> Outut is 1 bash -c 'shopt -s compat31; [[ "1" =~ "[1]" ]]; echo $?'