Article 5NFKP copy paste in bash without the colon

copy paste in bash without the colon

by
ccee
from LinuxQuestions.org on (#5NFKP)
Hello

Traditionally in bash if you wanted to copy/paste a word you would hover the mouse above the source word and double click to select that word. In newer (at least debian based) installs I have found that if that word is followed by a colon then the colon is also included in what has been selected.
For example:

cat /etc/passwd | grep nobody
nobody:x:65534:65534::/tmp:

if I hovered the mouse above "nobody" and double right click, "nobody" was selected ...
If I now do the same thing in 4.9.0-264-antix.1-amd64-smp (and several others) the whole line is selected...

How can I delimit what is selected by considering the colon as if it were a space like in the good old days?

Thanks

Clatest?d=yIl2AUoC8zA latest?i=liLRYAsUrno:qBh15jmE96g:F7zBnMy latest?i=liLRYAsUrno:qBh15jmE96g:V_sGLiP latest?d=qj6IDK7rITs latest?i=liLRYAsUrno:qBh15jmE96g:gIN9vFwliLRYAsUrno
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments