in reply to Re^4: How to reverse a huge file in Perl?
in thread How to reverse a huge file in Perl?

Didn't he already show you a wc -l? Did you test it yourself and get different results?

No. He only added the wc after I asked how many lines were in the file. And I asked because the only way I could reproduce anything like his results was if I ran tac on a large file that contained few or no newlines. It is faster, but not by the margins his test showed.

Then again, I'm using a win32 native port of tac and I do not know how close it is to the *nix version, or if it uses the same algorithm.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."