Insert after every nth character using sed
Hi,
I am trying to figure out how to use sed to insert something after n characters.
I have a cgi script that outputs its progress to the browser using periods. I want to put a </br> tag every 100 or so periods to stop browsers from improperly displaying my table.
So how do I use sed to insert something after every 100th period?
Thanks,
|