Hi everyone,
This makes me feel like a total n00b but I'm trying to figure out how to replace an XML close tag (such as </pagenum> ) with the same XML close tag followed by yet another close tag.
( I want every occurrence of '</pagenum>' to be replaced with '</pagenum></p>' )
I've tried using something like this:
Code:
sed 's/<\/pagenum>/<\/pagenum><\/p>/' old.xml new.xml
What am I missing? Please forgive me. I'm diving head first into RegEx.
Hopefully there will be a day when I laugh at this post.
Thanks,
Jon
Bookmarks