Every Monday, we'll show you how to do something new and simple with Apple's built-in command line application. You don't need any fancy software, or a knowledge of coding to do any of these. All you need is a keyboard to type 'em out!
Sometimes you need to quickly replace a line of text across your documents. While you could open the documents and hand-edit them one-by-one, the easier solution is to use a Terminal command called “sed” that allows you to specify a string of text that should be substituted by another. With this command, you can easily find and replace occurrences of words in a document, automatically. Continue reading, and we’ll show you how to put this powerful command to good use.