in reply to Zero being added when reading from filehandle?

Maybe count.out doesn't have in it what you think it does? Try looking at it with cat -vE, which should show line endings and control characters; maybe you'll find a character you didn't expect.
  • Comment on Re: Zero being added when reading from filehandle?