newlines in filenames; POSIX.1-2024
From: Alejandro Colomar
Date: Wed Apr 16 2025 - 12:50:14 EST
Hi,
I'm updating the manual pages for POSIX.1-2024. One of the changes in
this revision is that POSIX now encourages implementations to disallow
using new-line characters in file names.
Historically, Linux (and maybe all existing POSIX systems?) has allowed
new-line characters in file names.
I guess there's no intention to change that behavior. But I should ask.
I thought of adding this paragraph to all pages that create file names:
+.SH CAVEATS
+POSIX.1-2024 encourages implementations to
+disallow creation of filenames containing new-line characters.
+Linux doesn't follow this,
+and allows using new-line characters.
Are there any comments?
Have a lovely day!
Alex
--
<https://www.alejandro-colomar.es/>
Attachment:
signature.asc
Description: PGP signature