[Jax.PM] ~9M lines of data

William C (Bill) Jones wcjones at fccj.edu
Mon Oct 14 16:27:05 CDT 2002


On 10/14/02 5:21 PM, "Aaron Johnson" <solution at gina.net> wrote:

> Have you considered the inverse?  Looking at what you don't want vs.
> what you want.
...
> then on the command line just do something like:
> perl -pi -e 's/\n{2,}/\n/g;

Your solution has the added benefit of getting things I may NOT have seen or
thought of - that way they can be 'processed' if need be by another script.

Good call;
:)




More information about the Jacksonville-pm mailing list