I guess the -i option to sed works differently on Linux and MacOS
[mmh] / mts /
drwxr-xr-x   ..
drwxr-xr-x - smtp