Reading lines within vi editor

Hi All,
I need to read line by line from a file(created using vi editor) till end of the file and pass it to my own executables so that it will read first line and execute and then other and so on...Thanks
The steps are like this;
1) read first line in file
2) execute the job with first line as argument
3) read another line
4) execute the same job with second line as arguments
5) till end of file

So basically you just want to read a file line-by-line? google (a member) explains how to do that here.

Let me try this I hope it should work for me...Many Thanks