try ctrl-d to input EOF