Simply confirming that an empty file returns 0 does not tell you whether whitespace-only lines are being excluded. Using ...