Getting a text file rid of all superfluous blank lines

Paul Smith phhs80 at gmail.com
Thu Dec 1 11:54:36 UTC 2005


On 11/30/05, Tim <ignored_mailbox at yahoo.com.au> wrote:
> > Rodolfo's technique works fine for me. It reduced about
> > 40Kb of a HTML document produced by NVU. I do not know why, but NVU
> > seems to add blocks of blank lines, drastically increasing the size of
> > the document.
>
> NVU adds 40Kb to a file just from blank lines?  40,000 blank lines?  How
> big's the document, overall?

The original size of the document was 220Kb and now (without the blank
lines) is 180Kb. I think NVU does not insert all blank lines  at once,
but as one updates the HTML document, the number of superfluous blank
lines increases. I think I will use Quanta instead in the future.

Paul




More information about the fedora-list mailing list