Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Use Ctrl-d to end input without hitting return and you shouldn't get a newline.


bash, at least, only handles Ctrl-d on its own line.


If you're not on a new line, you can type Ctrl-d twice.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: