Does this joke of an editor still spy on you with Google Analytics? Things like this (and MongoDB) really make me want to get out of this industry. The amount of pointless wheel-reinvention that goes on simply due to fashion and short attention spans is (or ought to be) scandalous.
ed, by Ken Thompson. It's actually extremely useful for this one specific task of editing particular lines in a large file. There's also sed if you want to perform arbitrary search and replace.