Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2019 09:48:17 +0700
From:      Victor Sudakov <vas@sibptus.ru>
To:        freebsd-questions@freebsd.org
Subject:   grep for ascii nul
Message-ID:  <20191101024817.GA60134@admin.sibptus.ru>

next in thread | raw e-mail | index | archive | help

--5mCyUwZo2JvN/JJP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.

--=20
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

--5mCyUwZo2JvN/JJP
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJdu5zxAAoJEA2k8lmbXsY0YXUH/i8sLMi6Z8aRRdZxknk4JFRi
qOG+wSso9kopmLAZKVZCh8l7S7YVtZYkOsfDlunYTg5Bm95iR74ww2YrEPh/PMVf
3xRHCu+KEusPRvyj+aH8b6EtboP2moJPB47jBrsFzTIfxxjq+Z+nErSAt2EBSrDd
6XTduCLjEiAB6eKbPognnohhlaM9G2zPGGGEMHP+S6HLO8H8UY1FmvA7qzIwnU/P
3f8cTxBtrPvBIDTPuJVeeN1e+TXugiwj74vw0r/e6nx7PQiNnOO2JCKrY/EBJ172
mV0MCDsbSefK5jLoSltURZenXeCaTv/WYe7qDQQ92mj0qzhjPqaYXrf21Mljx4E=
=cDyI
-----END PGP SIGNATURE-----

--5mCyUwZo2JvN/JJP--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191101024817.GA60134>