bug-bash
[Top][All Lists]
Advanced

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

Re: History file clobbered by multiple simultaneous exits


From: Chris F.A. Johnson
Subject: Re: History file clobbered by multiple simultaneous exits
Date: Thu, 11 Jul 2013 10:20:49 -0400 (EDT)
User-agent: Alpine 2.00 (LMD 1167 2008-08-23)

On Wed, 10 Jul 2013, geoff@cs.hmc.edu wrote:
...
        What might be cooler would be to merge all the history lines
        from all shells, in timestamp order.  But given the current
        history file format, that seems...hard.

PROMPT_COMMAND='history -a "$HISTFILE"'

--
   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

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