Tip: Triple-click to copy Code from Safari and Paste into Terminal · 105 words posted 05/11/2006 10:47 PM

If you want to roll your own installs of Rails or Subversion on OS X, I can’t think of any better source than Dan Benjamin’s Hivelogic excellent tutorials:

Here’s a tip to speed your work: if you’re copying the code in Safari and pasting into Terminal, try triple-clicking each line of code. This picks up the carriage return at the end of the line. The command runs automatically when you paste the line into Terminal.

This works for Bash; I assume it works for other shells but I haven’t tested it.

* * *