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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: