in reply to Re: Text Processing
in thread Text Processing

Silly ol' me forgot about tell in my response (I used that inelegant length thing). Oh well; I just wanted to register the caveat that you must read in the first line *before* you do the call to tell, otherwise you get the uninformative result 0.

Replies are listed 'Best First'.
Re: Re: Re: Text Processing
by Sprad (Hermit) on Apr 21, 2001 at 01:15 UTC
    But isn't that the very beginning of the file? Or is that not where we want to be?

    ---
    I'm too sexy for my .sig.

      Well, if you did, then why bother making the function call? =)

      My understanding is that the original poster (gah, forget the name, sorry) wants to print out a new first line, then keep every line thereafter. I was shoehorning it into my framework.