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

> looping over `read` is essentially never the right thing to do

Why? I do it quite often, though admittedly usually in one-time scripts.



See my reply to qazxcvbnm and study the links carefully if you want to do robust shell scripting.




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

Search: