sed(1): Fix off by one introduced in r299211.