Web lists-archives.com

Re: question about ls




On 29/09/18 12:21 AM, Greg Wooledge wrote:
> On Fri, Sep 28, 2018 at 09:06:59AM +0200, Ionel Mugurel Ciobîcă wrote:
>> On 28-09-2018, at 17h 52'07", Richard Hector wrote about "Re: question about ls"
>>> Eww. Tab completion also gets screwed up by this:
>>>
>>> richard@zircon:~/test$ rm <tab>
>>> file  is    one   this
> You're probably using "bash-completion", which is a separate project
> from bash, and is known to have many flaws.
> 
>> I am not a bash user, but if I try what you suggest, Richard, I see
>> the file as "this^Jis^Jone^Jfile" with tab completion (on one line).
> And in regular bash (without bash-completion), I see this:
> 
> wooledg:/tmp/x$ rm 'this
> is
> one
> file' _
> 
> where _ is the cursor.
> 

Seems likely. Maybe I should file a bug ... but the list is already a
mile long, and it's a (hopefully) unusual case that I've never run into
in ordinary usage.

Richard

Attachment: signature.asc
Description: OpenPGP digital signature