Hacker News new | past | comments | ask | show | jobs | submit login

You're skipping the most needed improvement of all: fixing the issue where scripts with unquoted variables will seem to work until they contain a space. Almost every single bash script of more than a dozen lines I've seen outside of large open-source projects fails if a user puts a space in a file path, because the programmer didn't understand the insanity of variable quoting rules! I don't know of any programming language with a more common major footgun.



Shellcheck does cover that. I think the bigger problem is people programming without warnings (in any language).

edit: Although I can see that if they hadn't made string splitting the default, it would have saved a lot of headaches.




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

Search: