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

In theory yes, in practice to this day many people don't bother how to learn how to deal with pathnames in a proper way.


Top difficulties in computer science:

1. naming things

2. cache coherency

3. off-by-one errors

???

4. quoting pathnames


I would replace 4 with parameter expansion rules.


Eh, maybe. In practice I usually do all my moderately-heavy filesystem scripting in Python these days, for which pathname quoting is just a complete non-issue. Of course, I still use a shell for quick-and-dirty stuff, but usually only for pretty simple tasks where the simplest quoting setup ("$i") suffices.




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

Search: