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.
[ Parent
| on HN ]
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 ?
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.