Open grr opened 3 years ago
The wonders of Linux—with power comes responsibility. You are correct, of course, but I’ve only once in my life seen someone use newlines or tabs in a filename (and that was for a unit test).
I’ll consider your suggestion for a future release.
The
--output-new
format produces tab-separated values (TSV) with the first field being the filename. But tab and newline characters are valid within filenames, so this can result in invalid TSV output, which makes it unreliable to parse. Can you add an option to produce JSON?Reference: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_170