bug-bash
[Top][All Lists]
Advanced

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

Re: Builtin history -r does not work with named pipes (i.e. GNU readline


From: Chet Ramey
Subject: Re: Builtin history -r does not work with named pipes (i.e. GNU readline's histfile.c read_history_range)
Date: Mon, 29 May 2017 17:05:20 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.1.1

On 5/29/17 4:40 PM, dualbus wrote:
> On Mon, May 29, 2017 at 04:17:16PM -0400, Chet Ramey wrote:
> [...]
>> So the bug is that readline doesn't print an error message if the history
>> file isn't a regular file?
> 
> Correct. Another problem is that the history builtin doesn't propagate
> back a meaningful return code indicating that there was a problem.

OK, that's an easy fix. It wasn't clear whether this was the problem, or
whether the original poster was complaining that the lack of support for
non-regular files was the bug. Thanks.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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