grep for ascii nul

MJ mafsys1234 at
Fri Nov 1 11:02:18 UTC 2019

On 1/11/2019 8:27 pm, Victor Sudakov wrote:
> Sorry for the confusion. Of cource I meant files with ascii nul in file
> contents, inside. Because why would I have mentioned "grep"?
> I need to find files containing ascii null inside, and print their names to stdout.
Well you could have been looking at something like: ls -Fl > filelist; grep '\0' filelist

Who knows?

Anyway, you've clarified now.


More information about the freebsd-questions mailing list