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

as that would end up copying the \0 along with the rest of the string into the driver

What? echo definitely doesn't append null terminators. It does append a newline, which you can omit with the -n option or ending the string with \c, depending on which standard it follows.



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

Search: