Script for reading an input file

#!/bin/sh
rpt="/export/home/legato/rpt_offsite"/test_eject.tape

cat <$rpt
while read line
do
echo $line
perform routine
done

I am trying to read the contents of this file line by line and perform a routine for each line read.
The file contents are numbers..

What is wrong with my script..help please

check this one:

#!/bin/sh
rpt=/some/file/name/here.text

while read line
do
echo $line
done < $rpt

and compare it with what you wrote