How to read file and load data into a script as variable

view story

http://www.unix.com – I need to read a text file that contain columns of data, i need to read 1st column as a function to call, and others are the data i need to get into a ksh script. I am quite new to ksh scripting, i am not very sure how to read each row line by line and the data in each columns of that line, set them as variables into my ksh script. example: Code: add        data1        data2 delete    data1        data2 replace    data1        data2        data3 . . . (HowTos)