How can I insert a tab character with sed on OS X? June 9, 2023 by Tarik Try: Ctrl+V and then press Tab.