bug-bash
[Top][All Lists]
Advanced

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

Re: Bug, or someone wanna explain to me why this is a POSIX feature?


From: Linda Walsh
Subject: Re: Bug, or someone wanna explain to me why this is a POSIX feature?
Date: Tue, 09 Aug 2011 17:24:56 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Gecko/20100228 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666

Chet Ramey wrote:!
It's not attempting command completion, since it doesn't think
it's in a context where a command name is expected (the completion
line parsing is pretty ad-hoc -- it doesn't use the shell parser).  It's
attempting readline's default filename completion.  I'll have to see
whether it can be taught that this is a context where a command name is
valid, even though it's the second line of a multi-line construct.
---
        Well, as it *is* a place where one can type in commands, so you
should slap it up the side the code, and put it in it's place!  ;-)


If this is really a big deal, you can temporarily turn off command line
editing while cutting and pasting text into the shell.  That way you
won't be surprised.
---
        set +o vi?
----

        I don't remember this being a problem before.


        I've done it before...as I'm writing code, sometimes I want to take
a snippet and test it, so I cut/paste ..

        Hasn't been until recently that I noticed this problem.




reply via email to

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