like say i have a string of numbers that constitute a phone number and are like so
##########
and i want to format them like :
###-###-####
insert only puts in new lines, and i dont know how to make say an expression like
sed (s/[0-9]/TheNumberIFound-/)//3//6
so is there some way i can ask sed to just add something after a matched pattern, or to replace the matched pattern with itself plus some other char?