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 11:51:34 +1100
In the version I was using a line that began with # and perhaps a timestamp
separated each entry of the history in a way that in principle preserved
information about the entry boundary even though this information is not used
by bash on the subsequent start.
jon.
On 06/02/2011, at 11:24, Michael Witten <mfwitten@gmail.com> wrote:
> On Sat, Feb 5, 2011 at 18:02, Jon Seymour <jon.seymour@gmail.com> wrote:
>> The version I tried on Linux 3.2.25 does have a .bash_history
>> format that could support it, but it still behaved the same way.
>
> How do you mean?
>
> I'm running bash version "4.1.9(2)-release" on GNU/Linux, and the
> resulting history file doesn't seem like it's storing anything more
> than lines of text naively dumped from the multi-line example.