in reply to Re^2: How to perform single operation to each line in file
in thread How to perform single operation to each line in file

Why don't you just read the file line-by-line?

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