in reply to How to perform single operation to each line in file

It seems you forgot a lot of what you were shown in how read data from file. Since you ignored my other advice you'll likely ignore this pointer also.

  • Comment on Re: How to perform single operation to each line in file