How can I find a word (e.g. "/dn") in a text file and add on the next line another word (e.g. "/period")?
I'd like to execute it using MS DOS.
I mean this "/dn" (after /dn is space) is one word (not a fragment of the text, but the whole word--after /dn can be other word on the same line) which I want to find and then after it on the next new line, not replacing the other lines and other words. I mean create a new line between already existing lines.
For example, if I have this input file:
I want this output:
/dn /period /name
and "/" symbol should be with dn, not without it.