Re: Need to split long lines in mail archives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, 9 Apr 2012, Woodchuck wrote:

fmt -flagswhatever FILENAME >/tmp/mytemp
mv /tmp/mytemp FILENAME

You might find the tidy utility (http://tidy.sourceforge.net/) handy
for this operation. It accepts the "-wrap N" option, which works great
in my toolchains, but I've never tried it on Mailman archives.

fmt(1) is not robust, either.  It will format the whole file with
a single-minded determination.  This includes mail headers,
attachments, blah blah.  it might even break the html.  There
are many unexpected consequences.

tidy won't break the HTML, at least, but there may indeed be unintended consequences. Testing suggested. :-)

--
Paul Heinlein
heinlein@xxxxxxxxxx
45°38' N, 122°6' W
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux