in reply to Re: A perverse use of grepin thread A perverse use of grep
Your code reproduces the bug of ignoring the line that is the bare '0'. You don't want to test the value of the line, but its length.