http://www.perlmonks.org?node_id=1023083


in reply to correcting output

Should clarify if you're trying to fix the script that makes this output or just "post-process" the resulting file.

To get help with a fix, show the relevant part of the code to produce this. To get help with post-processing, it would be good to show at least some attempt to do this yourself.