Y
Hacker News
new
|
ask
|
show
|
jobs
by
baby
3286 days ago
> I guess curl will incorrectly recognize the binary as text.
This doesn't sound like a really good test.
1 comments
raimue
3286 days ago
Looking for a NUL byte is the standard test that is also widely used by other tools such as grep or diff.
link
baby
3286 days ago
Interesting, I'm going to try to implement that in my file parser.
link