copy and paste
Moderator: General Moderators
copy and paste
I want to copy some code from a web page and then paste it into xterm (ssh session). a few times the code hasn't worked. i put it down to characters that i have copied but aren't visable, lf, cr etc has anyone got any tips for removing all superfluous characters when copying from web pages?
Re: copy and paste
Would this work or are there other characters i would have to strip as well?
linky
i have found a few solutions for windows but having trouble with finding a solution under linux (i assume i'm missing something!). i can't be the only person to copy code from the internet. i wouldn't even mind one word anwsers, i just need a solution as i can't see the characters that cause the issue it is hard to know whether i have solved it or not. each time i get this issue i spend hours debugging so any help with this would be really great.
linky
i have found a few solutions for windows but having trouble with finding a solution under linux (i assume i'm missing something!). i can't be the only person to copy code from the internet. i wouldn't even mind one word anwsers, i just need a solution as i can't see the characters that cause the issue it is hard to know whether i have solved it or not. each time i get this issue i spend hours debugging so any help with this would be really great.