On Sat, 5 Feb 2011, Michael Witten wrote:

On Sat, Feb 5, 2011 at 18:02, Jon Seymour <jon.seym...@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.

   According to the man page,

      HISTTIMEFORMAT
              ...
              If this variable is set, time stamps are written to the
              history file so they may be preserved across shell
              sessions.

   However this is not done in any version of bash that I can find.

--
   Chris F.A. Johnson, <http://cfajohnson.com/>
   Author:
   Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)

Reply via email to