Reading a text file backwards

Andrew Dalke adalke at mindspring.com
Thu Sep 30 21:06:23 EDT 2004


Graham Fawcett wrote:
> It's just shifting the burden perhaps, but if you're on a Unix system
> you should be able to use tac(1) to reverse your file a bit faster:

Huh.  Hadn't heard of that one.  It's not installed
on my OS X box.  It's on my FreeBSD account as gtac.
Ah, but it is available on a Linux account.

				Andrew
				dalke at dalkescientific.com



More information about the Python-list mailing list