Like Moneypenny said in Skyfall: "Sometimes the old ways are best." Kincade said something similar later on.
$ printf ',s/false/true/g\nw\n' | ed {YourFileHere}
Happy editing in place. Added '\nw\n' to write the file. Apologies for delay answering request.