#490158 bash: history problem with long HISTIGNORE

Package:
bash
Source:
bash
Description:
GNU Bourne Again SHell
Submitter:
Michel Briand
Date:
2024-04-05 10:15:03 UTC
Severity:
normal
#490158#5
Date:
2008-07-10 11:18:01 UTC
From:
To:
Hello,

when using the [ \t]* pattern in HISTIGNORE to ignore all command
beginning with a space, commands that begin with t won't be saved.

Example:
$ export HISTIGNORE="&:[bf]g:exit:[ \t]*:history*"
$ tar --help
$ history|tail

This prevent the use of this pattern but can also have an impact on all
patterns that include \... Maybe someone could imagine a test for that.

Best regards,
Michel