A recursive `sed -i` with confirmation for the first replacement