in reply to Parsing Text from a File to HTML Table

Hello anupchandu, and welcome to the Monastery!

The obvious problem is that you are splitting the input on whitespace, but individual log file records also contain embedded whitespace. The solution depends on the way in which the data is delimited within the log file. For example:

If this advice fails to address your problem, you will need to detail both the format of your log file and the way in which your current script is “not successful.”

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,