Sometimes I send (and receive) long command lines to colleagues over Gmail. When the command spans many lines Gmail adds newline character making me unable to copy the command directly to the terminal.

Is there a good solution to this problem?

2 Answers 2


You can use a Pastebin or jsfiddle.


Why not just paste the command into a text file and attach it to the email?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.