[Top][All Lists]

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

Re: readline 'unix-filename-rubout' whitespace bug

From: Chet Ramey
Subject: Re: readline 'unix-filename-rubout' whitespace bug
Date: Fri, 27 Aug 2021 16:09:04 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 8/26/21 10:18 PM, dabe@dabe.com wrote:

Bash Version: 5.1
Patch Level: 8
Release Status: release

        The manpage for bash(1) says:

               Kill the word behind point, ***USING WHITE SPACE AND THE SLASH
              CHARACTER AS THE WORD BOUNDARIES***.  The killed text is saved
               on the kill-ring.   [Emphasis mine]

        In certain circumstances, however, it gobbles up too much.

Thanks for the report. That circumstance is a pathname consisting solely of
one or more slashes, separated from the previous word by whitespace. I'll
fix it.

PS: I'm hopeful there might be some kind of workaround that will work even
on those dated releases!  [crossing fingers]

The code has been like this since January, 2004. That's pretty dated.

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

reply via email to

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