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.
Thanks for the report. Bash checks whether `historyref' is the special variable with side effects, not the target of the nameref. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/