
The developer tab is not readily available on the ribbon in Word by default, but can be added at any time through the options menu. You can install GNU sed with MacPorts, and it should be made available as gsed, but Homebrew might supersede your system's sed depending on how you have your $PATH variable arranged. The developer tab in Microsoft Word provides users with the option to write and run macros, use ActiveX controls and XML commands, create applications in Microsoft Office, and more. GNU sed will interpret character escapes like \t in the replacement pattern just fine, and you wouldn't even need above workaround. Also, because all the "invisible" characters can be represented literally, your solution can be copy-pasted without loss of information, and will be much more obvious/durable if you're using including this sed invocation in a script that other people might end up reading.Īlso note that macOS's version of sed is the BSD version. We cover the steps briefly at the top of the article, then continue below with pictures of the steps. This does not rely on your terminal understanding the Control+ V (insert next character literally) key binding-some may not. The steps in this guide are going to show you how to add the Developer tab in Excel for Mac.

The Developer tab is now added to your ribbon. It expands ANSI C-style escape sequences such as \t and \n and returns the result as a single-quoted string. Find out how to add the 'developer tools' in MS Word, adding a tick box, calendar, drop down menu, text field, date field and so on. From the menu on the right under Main Tabs, select the checkbox for Developer.

using the "ANSI-C quoting" feature of the Bash shell is probably preferable.
