Which file systems support newlines in file names

filesystems

For a programming challenge I need a filesystem which supports newline characters in filenames, so a file can be named something like:

A
filename
with
newlines

I can't find any. Can anyone help me?

Best Answer

Most Unix file systems allow for this. But you will often run into trouble with various programs and scripts that won't know how to handle it. If you do

date > 'test-
ing'
ls -lbd test*

Then you will see a \n in the file name which is a newline.