Re: Delete characters



"imphasing" <alex@xxxxxxxxxxxxx> writes:
> now, does anyone know how I would delete all but the LAST 500 lines of
> a text file?

Use a circular buffer. Or File::ReadBackwards, I guess.

-=Eric
--
Come to think of it, there are already a million monkeys on a million
typewriters, and Usenet is NOTHING like Shakespeare.
-- Blair Houghton.
.



Relevant Pages

  • Re: The Fuhrer Principle
    ... a million monkeys didn't write Shakespeare. ... Chas ... Prev by Date: ...
    (rec.martial-arts)
  • Re: Why are there no math prodigy monkeys?
    ... >lrudolph@xxxxxxxxx (Lee Rudolph) writes: ... >No. Monkeys are always too distracted by literary pursuits. ... Shakespeare. ... Prev by Date: ...
    (sci.math)
  • Re: "Hundredth Monkey" theorist dies...
    ... the odds against monkeys typing Shakespeare by chance are ... The original hypothesis involved placing the monkeys at typewriters, ...
    (alt.gathering.rainbow)
  • Re: orygun
    ... There is an old saying that if a million monkeys ... typed on a million keyboards for a million years, ... eventually all the works of Shakespeare would be produced. ...
    (rec.sport.football.college)
  • Re: Materialism versus a sense of wonder
    ... of monkeys at typewriters could never come up with Shakespeare. ... I've never considered it possible that monkeys could ... That means the monkeys would have to get 71,845 continuous letters correct. ...
    (rec.music.dylan)