File: How to read the last line?

Aahz Maruch aahz at netcom.com
Thu May 6 15:08:30 EDT 1999


In article <5l7lqm8k5m.fsf at eric.cnri.reston.va.us>,
Guido van Rossum  <guido at eric.cnri.reston.va.us> wrote:
>
>Have a look at Tools/scripts/rgrep.py in the Python source
>distribution; it's a reverse grep (i.e. it searches from the end of
>the file backwards) that deals with this, including what to do if the
>last line is really big.

I think you mean "in the 1.5.2 distribution"; I don't see it in 1.5.1.
-- 
                      --- Aahz (@netcom.com)

Hugs and backrubs -- I break Rule 6       <*>      http://www.rahul.net/aahz/
Androgynous poly kinky vanilla queer het

"In the end, outside of spy agencies, people are far too trusting and
willing to help."  -- Ira Winkler




More information about the Python-list mailing list