MacOS Terminal – Understanding the Purpose of ‘Paste Newlines as Carriage Returns’ in Terminal App

command linemacosterminal

In the settings of the Terminal app, in the advanced tab, there is an option to "Paste newlines as carriage returns" which is enabled by default.

What is this good for?

Best Answer

What is it good for?

Sometimes you want to paste exactly what you've copied into something...say a document you're editing in nano or vi and want to preserve it exactly as it is.

Or, you could want to past the CR so it executes the command.

Perhaps the default action to pastes exactly what was copied makes more sense than altering a paste buffer before the application processes the clipboard.