Created
November 29, 2010 11:53
-
-
Save l0b0/719872 to your computer and use it in GitHub Desktop.
Count the number of zero bytes in a string
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Can be used to for example count the number of files returned by `find ... -print0` | |
grep -cz . -- - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment