Hi,
I need to convert a text file formatted like this ("tshark -z conv,ip" output) to HTML:
=====================================================================================================
IPv4 Conversations
Filter:<No Filter>
| <- | | -> | | Total |
| Frames Bytes | | Frames Bytes | | Frames Bytes |
192.168.1.246 <-> 192.168.1.135 2 276 1 60 3 336
192.168.1.255 <-> 192.168.1.167 2 184 0 0 2 184
192.168.1.255 <-> 192.168.1.99 1 265 0 0 1 265
192.168.1.255 <-> 192.168.1.164 1 126 0 0 1 126
10.0.0.255 <-> 10.0.0.250 1 126 0 0 1 126
192.168.1.255 <-> 192.168.1.41 1 92 0 0 1 92
=====================================================================================================
Preferably the rows and the columns would be in a table so the data is nicely aligned. Are there any tools that would allow me to do this from a script? ...or do I need to use sed/awk? If so, how?
Thank you!