Don't work when there is stdin