I have a large text file with words. Every word is on a single line (typical wordlist).
I want to replace all characters "o" with the number "0" in every word, and the new formed word to be pasted on the next line after the original word.
For example, if we have this two in the list:
After the manipulation, our file should looks like this:
dog d0g someone s0me0ne
How this can be done with GNU tools like