Is there a way to be prompted before pasting a newline into terminal like for example gnome-shell
===


I sometimes by accident paste the wrong stuff into the terminal (by terminal I mean xterm, gnome-terminal, etc).

Is there a way to be prompted for verification before pasting anything containing a newline?  That way, It'd likely prevent the accidental pasting of things which would potentially be run as command in the terminal session.

