Editing a file without an editor

from blog John D. Cook, | ↗ original
I don’t use sed very often, but it’s very handy when I do use it, particularly when needing to make a small change to a large file. Fixing a JSON file Lately I’ve been trying to fix a 30 MB JSON file that has been corrupted somehow. The file is one very long line. Emacs […] The post Editing a file without an editor first appeared on John D. Cook.