bug-bash
[Top][All Lists]
Advanced

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

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 16:54:23 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 3/26/15 4:51 PM, Eric Blake wrote:
> On 03/26/2015 01:21 PM, Chet Ramey wrote:
>> 
>> What do you mean "ignore its effect"?  You have newlines embedded
>> in history entries; what do you plan to do about them?
> 
> Can't history lines be recorded as $'...\n...' so as to be one line
> per command, even when the command contained newlines?

The solution cannot be bash-specific; the history library is used by many
other applications.

- -- 
``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/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)

iEYEARECAAYFAlUUcf4ACgkQu1hp8GTqdKv/IQCfaR9tppTwWZlP2ElGv2oGYWdY
j9cAnjOmU1rs5N+Jljc80aH0++qQdYRD
=h0EB
-----END PGP SIGNATURE-----



reply via email to

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