[bug #68649] Missing space after HISTTIMEFORMAT
Ilya <[email protected]>
| Newsgroups | gmane.comp.shells.bash.bugs |
|---|---|
| Message-ID | <[email protected]> |
URL:
<https://savannah.gnu.org/bugs/?68649>
Summary: Missing space after HISTTIMEFORMAT
Group: The GNU Bourne-Again SHell
Submitter: ilya_the_human
Submitted: Wed 26 Aug 2026 08:42:16 AM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Unlocked
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 26 Aug 2026 08:42:16 AM UTC By: Ilya <ilya_the_human>
There's no space separator between time string and the history entry itself
Example:
```
[ilya@arch ~]$ HISTTIMEFORMAT="%s"
[ilya@arch ~]$ history
1 1787733535HISTTIMEFORMAT="%s"
2 1787733537history
```
Potential fix:
https://codeberg.org/ilya-the-human/bash-fixes/commit/3cafff6a35eeeebc7ca10284006920da6407e934
Right now I have to include the trailing space manually with
`HISTTIMEFORMAT="%s "`
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68649>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCao6m7gAKCRCqLAuaBUf3 TsZgAQCbjwCxjsydibErYRU4VEtQrpbPiJbnvxNKYhnY/2OWcAD/RwtFIdaS5jJZ 188GFTb5wFA37XiNA9pdfHARS3YBgwc= =A5vv -----END PGP SIGNATURE-----