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