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


in reply to Shorten the headers of a file and remove empty lines using perl

We could write the whole thing for you, but that's not what PerlMonks is about. What have you done to get started, and what part are you having trouble with?

My solution would differ depending on how large the input file is expected to be (or become). So as you work on providing more information, that's one element I would like to know.


Dave

Replies are listed 'Best First'.
Re^2: Shorten the headers of a file and remove empty lines using perl
by Anonymous Monk on Jun 13, 2013 at 22:41 UTC
    Thank you for your comments. I just start learning perl and am not very used to script yet. So that is problem. I am not sure how to start this script yet. The file is very big like 500M. XF