There are advantages to having overwrite-in-place as an option. If sed is passed a malformed expression, or for whatever reason is unable to operate, the file is untouched. A separate program would clobber it.<p>Better to have the separate program than everything to implement its own version, but having both isn't necessarily bad.