3 ms·Use Ctrl-d to end input without hitting return and you shouldn't get a newline.by sjs 14y agoUse Ctrl-d to end input without hitting return and you shouldn't get a newline.Peaker 14y agobash, at least, only handles Ctrl-d on its own line.1zq 14y agoIf you're not on a new line, you can type Ctrl-d twice.