in reply to Extracting data from a particular line to end of the file

So in your above example you will print the whole file, as the first line already starts with a '*'?

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

  • Comment on Re: Extracting data from a particular line to end of the file

Replies are listed 'Best First'.
Re^2: Extracting data from a particular line to end of the file
by manne (Novice) on Dec 21, 2010 at 18:22 UTC
    Yes that would print the whole file in the example,but the point was to print everything starting from any character like * or other.* was just an example. Thankyou