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

But they did not make old code correct. Filenames are still allowed to contain newlines. Shell scripts still need to be prepared to deal with that. Nothing really changed, they just added a feel-good half-measure.


It's a step in the right direction. You have to understand that for decades a vocal group of Unix die-hards has opposed any limitations whatsoever on the bytewise content of file names. The newline restriction in this latest version of POSIX may be modest, but it represents a dam breaking. When (obviously) the sky doesn't fall, the next version of POSIX will have a lot more filename cleanup.


Next step is to forbid newlines from file content itself, to fix conforment json parsers ?


This is pretty standard for a human run system. Gotta make the human feel good about an idea before they can do said idea.

If you’re not familiar with humans, there are several manuals available online.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: