The best tool for replacing strings is Perl. It can even do it for multiple files. You don’t need to know much Perl to use the “Perl PIE” technique, that turns a potentially long script into a one-liner. I used it to start an SEO task on this site.
The Nautilus Trash feature stopped working, so I could only delete a file completely, rather than move it to the trash. Here’s what’s happening, and how to restore it.
The file is located in the same folder as the document. It’s named .~lock* so you need to make the hidden files visible to see it.
This is an interesting project, to formalize the INI format to express more complex data structures.