unexpected end of file

I dont know where I missed the double quotes .:wall:pls review this code and help me out .

 
 
m1: line 26: unexpected EOF while looking for matching `"'
m1: line 34: syntax error: unexpected end of file

 
echo "script is created by prabhu Kumar ";
echo "changing the directory to wes ";
cd /itf/ude/wes/;

echo "running the script and generating the input file " ;
echo "reading the file  my_temp.txt";
while read a b c d e f g
do
    if [ "$f" == "SU" ]
    then
        continue
    elif [ "$f" == "IN" ]
    then
        job_depends -c -w -j  $a | sed -n "/Atomic Condition/,/Dependent Job Name/p > my_temp1.txt
 
 while read a b c 
 do 
    if [ "$c" == "T" ]
    then 
  echo "$a"
 
   elif [ "$f" == "F" ]
  then 
  job_depends -c -w -j  $a
 done < my_temp1.txt
  
 
 break
    fi
done < my_temp.txt

I can see two if's but only one fi?

The missing double-quote is in the sed command starting with:

sed -n "/Atomic