title: Merge Multiple html files into one
body: <p>With the help of you guys, i have written a code to get output of my program in html file.</p>
  
  <p>but now the problem is for each server i am getting a separate html file
  e.g. 
  10.106.86.00_FinalData.html,10.106.86.01_FinalData.html ...</p>
  
  <p>Below is the code which is generating the html file for each server</p>
  
  <pre><code>Dell_Data_Status_3=`cat /home/${svr}_Data_Status_3.csv`
  var=$(printf "%s\n" "${Dell_Data_Status_3[@]}" |
  awk -F, '
  $3==3{
      f2=$2=f2 (f2==""?"":",") $2
      out=$0
  }
  END { print out }')
  #echo $var
  ServerName=`echo "$var" | awk -F " " {'print $1'}`
  Index=`echo "$var" | awk -F " " {'print $2'}`
  Status=`echo "$var" | awk -F " " {'print $3'}`
  
  
  
  echo "&lt;html&gt;
  &lt;head&gt;
  &lt;style&gt;
  table, th, td {
    border: 1px solid black;
  }
  &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;table&gt;
    &lt;tr&gt;
      &lt;th&gt;ServerName&lt;/th&gt;
      &lt;th&gt;Index&lt;/th&gt;
      &lt;th&gt;Status&lt;/th&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;$ServerName&lt;/td&gt;
      &lt;td&gt;$Index&lt;/td&gt;
      &lt;td bgcolor=#00FF00&gt;OK&lt;/td&gt;
    &lt;/tr&gt;
  
  &lt;/table&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  
  " &gt;&gt; /home/${svr}_FinalData.html
  
  </code></pre>
  
  <p>Need to merge these all file in to one. 
  please need your help in this.</p>