linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* newlines in filenames; POSIX.1-2024
@ 2025-04-16 16:50 Alejandro Colomar
  2025-04-22 22:21 ` Theodore Ts'o
  0 siblings, 1 reply; 6+ messages in thread
From: Alejandro Colomar @ 2025-04-16 16:50 UTC (permalink / raw)
  To: linux-kernel, linux-api, linux-man

[-- Attachment #1: Type: text/plain, Size: 754 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-04-25 14:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-16 16:50 newlines in filenames; POSIX.1-2024 Alejandro Colomar
2025-04-22 22:21 ` Theodore Ts'o
2025-04-23  7:31   ` Alejandro Colomar
2025-04-24  0:05     ` Theodore Ts'o
2025-04-24  7:00       ` Alejandro Colomar
2025-04-25 14:54   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).