🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.misc
1 messages
1 total messages Started by Russell Schulz Wed, 12 Jun 1996 00:00
Re: News article reformatter?
#37
Author: Russell Schulz
Date: Wed, 12 Jun 1996 00:00
26 lines
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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads