Re: history file missing timestamp when HISTFILESIZE reached

2023-03-24 Thread Chet Ramey
On 3/19/23 9:12 PM, Grisha Levit wrote: When HISTTIMEFORMAT is set and history file truncation is performed, the first line of the history file (i.e. the timestamp of the first entry) seems to always be missing Thanks for the report. Chet -- ``The lyf so short, the craft so long to lerne.'' -

Re: history file missing timestamp when HISTFILESIZE reached

2023-03-20 Thread Rob Foehl
On Sun, 19 Mar 2023, Grisha Levit wrote: When HISTTIMEFORMAT is set and history file truncation is performed, the first line of the history file (i.e. the timestamp of the first entry) seems to always be missing /tmp/hist HISTTIMEFORMAT= HISTFILESIZE=3 HISTFILE=/tmp/hist bash --norc -in <<<$'