[services/textproc/sed] remove useless if statement