Related to another question, in order to fuzzily detect binary files, is there a way to detect ␀ bytes in sed?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
Example: Prove I'm sending a NUL byte, followed by a newline:
Now I change the NUL byte to an
So the trick is using |
|||||||||||||
|
|
Yes, the pattern Example:
|
||||
|