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
In reply to Re: Shorten the headers of a file and remove empty lines using perl
by davido
in thread Shorten the headers of a file and remove empty lines using perl
by intect
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |