On Sun, Oct 11, 2015 at 10:43 AM, Brandon Allbery <allbery.b@gmail.com> wrote:
On Sun, Oct 11, 2015 at 1:01 AM, Andrew Bernard <andrew.bernard@gmail.com> wrote:
On what operating system can filenames contain newlines?

Any unixlike system. You would need to quote the newline from the shell, but it is perfectly valid.

Valid... Ok

Perfectly?? Here's a counter view
http://www.dwheeler.com/essays/fixing-unix-linux-filenames.html

Summary: Funny chars in filenames is a feature close to a bug in *Nix filesystems

So my advice for this would be:
- If you have better things to do dont bother
- if for some reason you do need to bother, respect Postel's law and allow it out more reluctantly than in