Article View: news.software.misc
Article #37Re: News article reformatter?
From: Russell Schulz
Date: Wed, 12 Jun 1996 00:00
Date: Wed, 12 Jun 1996 00:00
26 lines
1710 bytes
1710 bytes
gbacon@CS.UAH.Edu (Greg Bacon) writes: > Something I've been giving some thought to lately is trying to put > together a Perl program to reformat news articles (that is, trim > lines to below x chars in length, pretty up followup quoting, et al), > especially for use with !G in vi. how much do you want to mangle the headers? > It seems that it shouldn't be _that_ difficult to write, but it's the > followup quoting that seems to be the real stumbling block. Any ideas? look at the `par' reformatter. I also have a simple change to my own `fmt' which recognizes blocks of leading `>'s (but not SuperCite's foo> stuff) which is handy, and a message pretty-printer which makes the headers wrap nicely (they're nice to look at, but the breaks can be in illegal places -- until 1036bisbis makes it out). none of this stuff is in perl, though. -- Russell_Schulz@locutus.ofB.ORG Shad 86c
Technical Details
Message-ID:
<960612.214602.7h5.rnr.w164w@locutus.ofB.ORG>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.misc.mbox.zip!not-for-mailReferences:
<4pk37o$9v3@info.uah.edu>Show Full Headers
Complete Article Headers
Message-ID: <960612.214602.7h5.rnr.w164w@locutus.ofB.ORG> Subject: Re: News article reformatter? Date: Wed, 12 Jun 1996 00:00:00 +0000 From: Russell_Schulz@locutus.ofB.ORG (Russell Schulz) References: <4pk37o$9v3@info.uah.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.misc.mbox.zip!not-for-mail X-Deja-AN: 159927470 Comments: news.software.misc doesn't exist yet. don't worry. X-original-article-from: gbacon@cs.uah.edu (Greg Bacon) Organization: Private System, Edmonton, AB, Canada Reply-to: Russell_Schulz@locutus.ofB.ORG (Russell Schulz) Newsgroups: comp.lang.perl.misc,news.software.misc