Hi Guys,
i have a file where data is in the below format::
data1 data2
data3 data4
data4 data6
my script written as::
#!/bin/ksh
cd $1
at now <<END
sh $2
END
Here i want to pass the values stored in the above file one by one till the end of line.
Here if i am doing it as::
sh script.sh `cat filename`
In the above case it is only taking first line of the file and then exits.So how can i pass all the values on the file sequentially till end of the file?
Appreciate your help!!
Thanks