News for hackers. Stuff that matters.
Re:What's New in POSIX 2024 by zokier on Tuesday October 29, 2024 @08:54AM (#41983370)
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.
Re:What's New in POSIX 2024 by quotemstr on Tuesday October 29, 2024 @10:53AM (#41984444)
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.
Re:What's New in POSIX 2024 by rixed on Wednesday October 30, 2024 @01:39AM (#41992166)
Next step is to forbid newlines from file content itself, to fix conforment json parsers ?
Re:What's New in POSIX 2024 by janderland on Tuesday October 29, 2024 @12:53PM (#41986487)
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.