sed by joe71 from LinuxQuestions.org on 2021-08-09 09:41 (#5N3QS) Hi!There is a string, for example 1234567812345678. How to convert this string to 12345678-12345678 format using sed command. Thanks for your help.