Input file and output file may be the same.  Add --in-place option.