Insert a character at a specific location using sed

Viewed 50413

How to insert a dash into a string after 4 characters using sed (e.g., 201107 to 2011-07)?

4 Answers
Related