bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multi-line commands in the history get split when bash is quit


From: Jon Seymour
Subject: Re: multi-line commands in the history get split when bash is quit
Date: Sun, 6 Feb 2011 13:09:59 +1100

On Sun, Feb 6, 2011 at 1:02 PM, Michael Witten <address@hidden> wrote:
> On Sat, Feb 5, 2011 at 19:15, Jon Seymour <address@hidden> 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.
>

I guess the point is that in versions of bash that do store the
timestamp in the .bash_history file, they also
effectively preserve the entry boundaries in a way that could be used
to preserve the entry boundaries
when the history is re-read.

jon.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]