On 2025-08-18 01:53:43 +0200, Vincent Lefevre wrote: > On 2025-08-18 01:31:38 +0200, Antonio Diaz Diaz wrote: > > Since January 2024, GNU ed is rejecting by default file names containing > > control chars and nobody has complained yet. > > Perhaps for creation, but not as input, where GNU ed outputs > non-printable characters to the terminal due to the file name in > the error message. So this does not solve the problem. GNU ed is > as buggy as gzip in this respect. I've just reported the bug.
In short, the only way to avoid the issue in any program would be to make the Linux kernel to prevent the creation of such file names in the first place (well, archive utilities would also need to filter such characters for their output in case they can appear in archives). -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)