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

if $y is untrusted input then you need to quote it or you've introduced shell injection attack to the script.


You don't need to quote variables on the right hand side of an assignment.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: