[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug on history control, don't erase no dups
From: |
Chet Ramey |
Subject: |
Re: Bug on history control, don't erase no dups |
Date: |
Mon, 23 Jun 2008 21:56:39 -0400 |
User-agent: |
Thunderbird 2.0.0.14 (Macintosh/20080421) |
B wrote:
I am guessing here. Something with multiple instances of bash acessing the
history. Are duplicates checked when a bash session is closed?
No, only when adding commands to the history list. It's impractical to
check every line in the history file when appending a session's history
to it.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/