hash -l with empty hash table prints to stdout

2020-06-15 Thread beluro
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 -fdebug-prefix-map=/build/bash-2bxm7h/bash-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -Wno-format-security uname o

Re: Changes to HISTIGNORE are not honored when changed via a reference?

2020-06-15 Thread Chet Ramey
On 6/13/20 6:17 PM, James D. Lin wrote: > Bash Version: 5.0 > Patch Level: 3 > Release Status: release > > Description: > If I modify the `HISTIGNORE` variable indirectly through a reference (e.g. > via `declare -n` or `local -n`), `HISTIGNORE` reflects the change, but the > change isn't honored.