Is there a way to make pasting into Terminal safe?
Assuming you are using bash: If you activate emacs shortcuts with set -o emacs you can also use Emacs to edit the command line:


Type Ctrl-XCtrl-E at the prompt to start Emacs
Paste and edit your clipboard content into the Emacs buffer
Use Ctrl-XCtrl-C to exit Emacs and automatically run the command(s).