Subject: bug#43789: 27.1; Dired cannot handle file which name contains linebreak

From: Michael Albinus <[email-masked]>
Date: Mon, 05 Oct 2020 11:30:50 +0200

"Zhu Zihao" <[email-masked]> writes:

> Step to reproduce:
>
> 1. Use touch from coreutils or find-file in Emacs to create a file
> which name contains a linebreak. (e.g. "line\nbreak")
> 2. Visit it in dired, you cannot do anything with this file because
> the characters after "\n" was ignored by dired.

I recommend to avoid file names containing line breaks. Tramp, for
example, cannot handle them at all.

Best regards, Michael.