The Designspace http://thedesignspace.net/ My daily explorations, troubleshooting, solutions and discoveries. en-us ellen@thedesignspace.net Sat, 08 Jun 2013 19:03:30 -0500 How to make a diff file on Mac http://thedesignspace.net/MT2archives/001036.html I had occasion to make a patch file the other day, and since I do this so rarely, it took some time to look up how to do it. So here, in a nutshell is how to use diff on a Mac. Open terminal. At the prompt, type diff -up newfile oldfile But really the easiest way to get the... Regular expression to match any line that contains a string http://thedesignspace.net/MT2archives/001017.html I use BBEdit to clean up text files generated by various highlighting and note-taking apps. One application that I particularly like, Skim, exports a list of all the highlights you've made in a PDF, each prefaced with a line like: * Highlight, page 74 I wanted to get rid of those line indicators, so I could incorporate those highlights into...