HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by ibotty | Hacker News Reader
Parent
Full thread
ibotty
·
how do you get rid of the carriage return as last char that way?
View on HN
sjs
·
Use Ctrl-d to end input without hitting return and you shouldn't get a newline.
Peaker
·
bash, at least, only handles Ctrl-d on its own line.
1zq
·
If you're not on a new line, you can type Ctrl-d twice.
Reply on news.ycombinator.com