Add warning on test -a, -o documentation

2019-02-13 Thread 積丹尼 Dan Jacobson
On the bash man page at expr1 -a expr2 True if both expr1 and expr2 are true. expr1 -o expr2 True if either expr1 or expr2 is true. and on "help test" perhaps add the same warning as one sees on (info "(coreutils) Connectives for

Re: 5.0: CPPFLAGS doesn't propagate to loadables

2019-02-13 Thread Chet Ramey
On 2/12/19 5:13 PM, Christian Weisgerber wrote: > There is a small omission in bash 5.0's build infrastructure: > The CPPFLAGS variable doesn't propagate to the actual compiler flags > used to build the loadables. In practice, this means that the seq > loadable will fail to build on operating syst

Re[2]: history -a misbehaves with $HISTSIZE

2019-02-13 Thread Айрат Васбикарамов
>Вторник, 12 февраля 2019, 19:58 +03:00 от Chet Ramey : > >On 2/10/19 4:59 PM, Айрат Васбикарамов wrote: > >> Machine Type: x86_64-unknown-linux-gnu >> Bash Version: 4.4 >> Patch Level: 23 >> Release Status: release >> Description: >> $ history -c >> $ HISTSIZE=2 >> $ HISTFILE=$(mktemp) >> $ his

Re: Bash 4 crash: "f(){ declare -a x;declare -A x;};f"

2019-02-13 Thread Chet Ramey
On 2/13/19 12:46 AM, Mark wrote: > Bash Version: 4.4 > Patch Level: 18 > Release Status: release > > Description: > Bash versions 4.0 thru 4.4.18 crash when declaring a variable as an > indexed array and then as an associative array while inside of a > function. Thanks for the report. This