Two things: first, other commands that modify things take a --dry-run parameter, and say "Would update #{format_path(result)} but don't actually modify it.  Second, it would probably be super valuable to print a diff after performing this modification, showing exactly what changed.  See the new xargs command for an example of grabbing a diff; I just write the old and new to tempfiles, and do `diff <old> <new>`.