bug-bash
[Top][All Lists]
Advanced

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

Re: Please improve documentation of "history -a"


From: Chet Ramey
Subject: Re: Please improve documentation of "history -a"
Date: Thu, 11 Jun 2015 16:25:25 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 6/9/15 7:42 PM, Reuben Thomas wrote:
> At least in bash 4.3, the documentation for history -a says:
> 
>           Append the new history lines (history lines entered since the
>           beginning of the current Bash session) to the history file.
> 
> This is unfortunately misleading, since it suggests that the technique of
> adding "history -a" to one's PROMPT_COMMAND, as suggested here:
> 
> http://heyrod.com/snippet/s/always-append-bash-history.html

Thanks for the report.  I will clarify the text.

Chet

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



reply via email to

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