News for hackers. Stuff that matters.
Re:What's New in POSIX 2024 by pjmlp on Tuesday October 29, 2024 @08:37AM (#41983249)
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.
Re:What's New in POSIX 2024 by inetknght on Tuesday October 29, 2024 @09:38AM (#41983726)
Top difficulties in computer science:

1. naming things

2. cache coherency

3. off-by-one errors

???

4. quoting pathnames

Re:What's New in POSIX 2024 by hawski on Tuesday October 29, 2024 @12:18PM (#41985880)
I would replace 4 with parameter expansion rules.
Re:What's New in POSIX 2024 by nneonneo on Tuesday October 29, 2024 @10:05AM (#41983965)
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.