Re: multi-line commands in the history get split when bash is quit
From:
Michael Witten
Subject:
Re: multi-line commands in the history get split when bash is quit
Date:
Sat, 5 Feb 2011 20:07:49 -0600
On Sat, Feb 5, 2011 at 20:02, Michael Witten <mfwitten@gmail.com> wrote:
> So, if you run `history', you'll not only get the commands in the
> history list, but you'll also get the time at which the commands
> were last run (formatted according to "$HISTTIMEFORMAT").
>
> In other words, it's not helpeful in this case.
Of course, I suppose bash could be taught to build multi-line comments
from command lines that share the same timestamp, but given the nature
of how that information is recorded, it seems like it may not be a
very robust solution.