grep for ascii nul

Victor Sudakov vas at sibptus.ru
Fri Nov 1 02:48:26 UTC 2019


Dear Colleagues,

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.

NB I don't need to delete the nul character with sed or tr, just need to
find files containing it.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20191101/847bf57b/attachment.sig>


More information about the freebsd-questions mailing list