title: I have a file which contains some data, want to save data in table format thru Bash script
body: <p>Save data in table format.</p>
  
  <p>File output data is like:</p>
  
  <pre><code>Nmap scan report for 192.168.X.X
  MAC Address: 1C:xx:0D:ff:62:9A (Unknown)
  Running: Linux 3.X|4.X
  Nmap scan report for 192.168.X.X
  MAC Address: 1C:xx:0D:88:59:F6 (Unknown)
  Running: Linux 3.X|4.X
  Nmap scan report for 192.168.X.X
  MAC Address: 1C:aa:0D:2C:64:XX (Unknown)
  Running: Linux 3.X|4.X
  Nmap scan report for 192.168.X.X
  MAC Address: 84:A9:3E:XX:1C:ss (Unknown)
  Running: Linux 3.X|4.X
  Nmap scan report for 192.168.X.X
  MAC Address: cc:D5:5E:xx:6B:6B (Unknown)
  Running: Linux 3.X|4.X
  Nmap scan report for 192.168.X.X
  MAC Address: xx:B6:xx:92:0C:1D (Unknown)
  Running: Linux 3.X|4.X
  </code></pre>
  
  <p>But want to save data like (in table format):</p>
  
  <pre><code>--------------------------------------------
  Nmap Scan Report for |    MAC Address     | Running
  192.168.X.X          | xx:1B:xx:2C:xx:9A  | Linux 3.X|4.X
  192.168.X.X          | 1C:1B:xx:2C:xx:xx  | Linux 3.X|4.X
  192.168.X.X          | 1X.1G.7V.XX.xx.xx  | Linux 3.X|4.X`
  </code></pre>
  
  <p>Please help with the Bash script.</p>