You can use `sed -i` to apply a sed expression in place.