🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #32748

Re: slrn outgoing pipes?

#32748
From: Ian T Zimmerman
Date: Sun, 13 Apr 1997 00:00
24 lines
1638 bytes
In article <slrn5kt6bt.8rr.jbn@pop-a-wheelie.midwest.net>,
J.B. Nicholson-Owens <jbn@pop-a-wheelie.midwest.net> writes:
>  Joe Bramblett <bofh@joeb.psyberlink.net> wrote:
> > I'm looking for a way to pipe just the bodies of outgoing posts
> > through PGP. Am I missing something in the manual?
>  I don't think it's as simple as pipe_article(), but if you could
> get the contents of a string variable to a pipe, you could divide up
> the article_as_string() into header and body and pipe the body.  I

It's trivial to write a sed script to drop all input before the first
blank line.  If that script is body.sed, just use body.sed|myprog
instead of myprog.

In fact, some MDAs (procmail for sure, I think mailagent too) come
with auxiliary filter programs to massage articles, so you don't even
have to write that sed script.

-- 
Ian T Zimmerman                        <itz@rahul.net>
I fully support the President's proposal to test driver's license
applicants for drugs.  Any plan to reduce driving is worth a try.

Technical Details
Message-ID: <slrn5l27jd.50f.itz@kronstadt.rahul.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn5krjn4.399.bofh@joeb.psyberlink.net> <slrn5kt6bt.8rr.jbn@pop-a-wheelie.midwest.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn5l27jd.50f.itz@kronstadt.rahul.net>
Subject: Re: slrn outgoing pipes?
Date: Sun, 13 Apr 1997 00:00:00 +0000
From: itz@rahul.net (Ian T Zimmerman)
References: <slrn5krjn4.399.bofh@joeb.psyberlink.net> <slrn5kt6bt.8rr.jbn@pop-a-wheelie.midwest.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 234634077
Organization: a2i network
Newsgroups: news.software.readers