On 2019-10-31 22:48, Victor Sudakov wrote: > How can I print the names of files containing ascii nul (\x0)? The > FreeBSD "grep -l" does not seem to be able to do it. Yeah, no. Probably grep takes that NUL as the end of the C string that is that command-line argument. You could use the attached program, which I wrote some time ago for this purpose.