Re:You can do a lot with an empty file
by macintux on Wednesday April 06, 2022 @11:07PM
(#30940202)
Does an empty file contain characters? That first sentence seems like it contradicts itself.
[ Parent
| on HN ]
Yes. It contains zero characters.
An empty file actually contains zero of everything in the universe.
The idea behind the definition is that it defines set of files that will not trigger various bugs in traditional unix text tools implementations (ie. various variants of not checking the fgets() return value).