Re: feature-request: don't count history time comment lines when in HIST
From:
Chet Ramey
Subject:
Re: feature-request: don't count history time comment lines when in HISTFILESIZE
Date:
Thu, 26 Mar 2015 15:21:52 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
On 3/25/15 6:03 PM, Christoph Anton Mitterer wrote:
> On Wed, 2015-03-25 at 16:21 -0400, Chet Ramey wrote:
>> https://lists.gnu.org/archive/html/bug-bash/2011-02/msg00042.html
> Maybe I've missed something but that thread basically just discussed the
> same issue without giving a solution, right?
It's intended to illustrate that the issue is complex and that solutions
are not simple.
> I understand you concerns about any format changes, that's why my idea
> was to allow "lithist" set but ignore it's effect when the history file
> is written... wouldn't that work out?
What do you mean "ignore its effect"? You have newlines embedded in
history entries; what do you plan to do about them?
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/