[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bash History Behavior Suggestion
From: |
Chet Ramey |
Subject: |
Re: Bash History Behavior Suggestion |
Date: |
Wed, 28 Aug 2024 10:18:30 -0400 |
User-agent: |
Mozilla Thunderbird |
On 8/20/24 2:20 PM, support@eggplantsd.com wrote:
The problem with the tagged format is that it's *not* usable by grep
Awk would have no problem with it.
limited to exactly whatever magic is built into the "history" command
That's where the magic should be. If that were the official interface to
`.bash_history`, then bash has freedom to innovate on what is stored, and
how it is stored. Then we could add even more information.
The history file and history list are not bash-specific. The history
library is part of readline and shared by many other applications. The
history timestamp is managed through a history library interface, not via
something bash does on its own.
It's possible to extend the history APIs to deal with timestamps that have
additional information after the timestamp, but it's not been a priority.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
- Re: Bash History Behavior Suggestion, (continued)
- Re: Bash History Behavior Suggestion, Greg Wooledge, 2024/08/19
- Re: Bash History Behavior Suggestion, Martin D Kealey, 2024/08/20
- Re: Bash History Behavior Suggestion, Martin D Kealey, 2024/08/20
- Message not available
- Re: Bash History Behavior Suggestion, support, 2024/08/20
- Re: Bash History Behavior Suggestion, Lawrence Velázquez, 2024/08/20
- Re: Bash History Behavior Suggestion, support, 2024/08/20
- Re: Bash History Behavior Suggestion, Martin D Kealey, 2024/08/20
- Re: Bash History Behavior Suggestion, support, 2024/08/20
- Re: Bash History Behavior Suggestion, Martin D Kealey, 2024/08/20
- Re: Bash History Behavior Suggestion, support, 2024/08/20
- Re: Bash History Behavior Suggestion,
Chet Ramey <=
- Re: Bash History Behavior Suggestion, Chet Ramey, 2024/08/28