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

Quoted multiline command interpreted by history as separate commands

2015-12-27 Thread james harvey
If I run == cat >> usertmp < something here > something else here > EOF == And I run history, I see: == 44 2015-12-26 17:27:42 cat >> usertmp <> usertmp <