manual edit-in-place

the -i option is not OS consistent