hi all,
Can you please help me with this issue ?
Code:
while [ cond1 = cond2 ] ####infinite loop
do
cat file1 |while read var1 var2
do
func1 $var1 $var2
done
cat file2 | while read var11 var22
do
func2 $var11 $var22
done
done
func1 is called till all the values are read from file1
and then it picks up the func2 ....
but before all the set of values from file2 are read
and func2 is executed control is passing to func1 loop
but i want the control to go to func1 only when all the set of values from file2 are read and func2 is called ....
Warm Regards