[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] How to simulate a call to 'tail' in MacPerl



At 14.54 -0500 1999.02.01, Stˇphane Jose wrote:
>Based on the comments I received, I came up with the following script.
>It seems rather efficient. Would anyone like to propose ways to improve
>this script or comment on its performance?

Actually, that is basically what I would have done, had I needed to make it
more efficient.  Read one byte at a time backwards from the end until you
hit a newline.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch