I'd have sold that keyboard by now, lol. I have big hands and they don't agree with touch screens. That's why I miss my Nokia E5; it was like a Blackberry, but better. I hate today's phones.I think knowing that extra white space triggers is enough, I've tested it so much that I'm sure that this is what causes it, and thanks to KGIII again for helping me to come to this conclusion.
I still have a glass keyboard that behaves like a smart phone, and I stopped using it because it accidentally triggers things so easily, in terms of stuff getting entered that you didn't ask for...it scared me, that can destroy your system and lose your data!
Ctrl+a. Wow, I feel like I should know that! Well, never to old to learn.Another tip when you copy/paste into a terminal is type out a # first before you paste .. then, after pasting if it looks good, ctrl-a to get to the beginning of the line and delete it.
I'll normally have another terminal open and just paste whatever it is into an empty file first, read through it, then paste in a terminal.