[Konsole-devel] [Bug 188528] konsole's history adds spaces to end of lines when copying text

g111 at netcologne.de g111 at netcologne.de
Thu Sep 3 17:52:25 UTC 2009


https://bugs.kde.org/show_bug.cgi?id=188528


g111 at netcologne.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |g111 at netcologne.de




--- Comment #13 from  <g111 netcologne de>  2009-09-03 19:52:23 ---
This bug can even be dangerous. I have a tool that reports filenames one on
each line. Before the newline a backslash is printed, so I can easily
copy&paste the output as input to a command:

filenum1 \
file2 \
file3

Copy&paste to e.g. "svn add" all these files:

svn add [middle mouse click]

Usually all the files are put on the command line. But with the spaces the
backslash will escape a space and the "svn add" is executed too early. The next
filename will be called as a command. Now imagine this is a script named
"deletemyhomedirectory.pl".

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list