in reply to Reading Lines from Text file

I guess the secret to it is in skipping the things in the middle.

  1. Read lines
  2. ...
  3. Profit!

Replies are listed 'Best First'.
Re^2: Reading Lines from Text file
by suaveant (Parson) on Feb 02, 2006 at 16:38 UTC
    Or the George Costanza approach...

    1. Open the file
    2. yadda yadda yadda
    3. First and last line.

                    - Ant
                    - Some of my best work - (1 2 3)

      "You yadda'd the best part!"

      "No, I told you about opening the file."

      *Cue scene change bass riff*