Re: Enabling history timestamps makes old commands show .bash_history modified timestamp

2015-12-28 Thread Chet Ramey
On 12/26/15 6:15 PM, james harvey wrote: > When I turn on timestamps for history, .bash_history records without a > timestamp (and possibly in-memory records without a timestamp - not > sure, haven't tested) inherit the modified timestamp of .bash_history > next time it is read. No. History entri

Enabling history timestamps makes old commands show .bash_history modified timestamp

2015-12-27 Thread james harvey
When I turn on timestamps for history, .bash_history records without a timestamp (and possibly in-memory records without a timestamp - not sure, haven't tested) inherit the modified timestamp of .bash_history next time it is read. This obviously causes old commands to have a much newer date. I lo