Script Path Help

I have the following paths in a flat file

/app00/app/mdbsorap/oradata/mfprd/system01.dbf
/app00/app/mdbsorap/oradata/mfprd/system02.dbf
/app00/app/mdbsorap/oradata/mfprd/system03.dbf
/app00/app/mdbsorap/oradata/mfprd/system04.dbf
/app00/app/mdbsorap/oradata/mfprd/system05.dbf

what i would like to do is the following

cd /app00/app/mdbsorap/oradata/mfprd/
tar this file system01.dbf

Try this....

#!/bin/sh
cd /app00/app/mdbsorap/oradata/mfprd/
ls system*.dbf | while read FILE
do
#tar $FILE
done
cd /app00/app/mdbsorap/oradata/mfprd/
tar cf system01.dbf.tar system01.dbf

If you want to make a tarball of all the .dbf files:

tar cf dbf.tar $( cat path_to_flat_file )

That assumes that there is no whitespace in the filenames.