Article View: news.software.readers
Article #10704Re: "trn -p" for multiple usernames.
From: Denis McKeon
Date: Sun, 07 Aug 1994 13:08
Date: Sun, 07 Aug 1994 13:08
33 lines
2151 bytes
2151 bytes
In <320ilp$fio@panix2.panix.com>, Marshall G. Flax <mgflax@panix.com> wrote:
>If I only post as mgflax@panix.com, then the "-p" command-line option
>works wonders at selecting my posts. But suppose I also post as
>mgflax@phoenix.princeton.edu or anXXXXXX@anon.penet.fi. How can I tell
>trn to have the -p option apply to those posts two?
>
>Marshall "I only post under my own name but I know others who don't" Flax
>--
>[Marshall G. Flax -- 718-256-3482 -- 8776 16th Ave #2, Brooklyn, NY 11214-5802]
In your global command (kill) file, put:
/mgflax@panix.com/f:+
/mgflax@phoenix.princeton.edu/f:+
/anXXXXXX@anon.penet.fi/f:+
or appropriate variations of those.
If you only post to a few groups, but scan many, you might put the above
lines in only the groups you post to, to save the overhead of scanning
every group for your posts.
For a related trick, if you save your outgoing posts, and you want to
scan only newsgroups you have posted to recently, try a variation of
this kludge:
#!/bin/csh
mush -F! ~/News/pick.posts -f ~/mbox > /dev/null
if ( $1 == "" ) then
set num=10
else
set num=$1
endif
trn ` egrep -e '^Newsgroups: ' ~/News/posted | tail -${num}r | \
sed -e 's/^Newsgroups: //' -e 's/,/ /' | sort -u `
Technical Details
Message-ID:
<323bgs$8rr@lynx.unm.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!news.onramp.net!convex!news.duke.edu!eff!news.kei.com!yeshua.marcam.com!zip.eecs.umich.edu!umn.edu!lynx.unm.edu!newsReferences:
<320ilp$fio@panix2.panix.com>Show Full Headers
Complete Article Headers
Message-ID: <323bgs$8rr@lynx.unm.edu> Subject: Re: "trn -p" for multiple usernames. Date: Sun, 07 Aug 1994 13:08:41 +0000 From: galway@chtm.eece.unm.edu (Denis McKeon) References: <320ilp$fio@panix2.panix.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!news.onramp.net!convex!news.duke.edu!eff!news.kei.com!yeshua.marcam.com!zip.eecs.umich.edu!umn.edu!lynx.unm.edu!news Newsgroups: news.software.readers Organization: Connemara - Computing for People Lines: 34 NNTP-Posting-Host: chtm.eece.unm.edu X-Copyright: Copyright 1994 by Denis McKeon X-Mailer: Mail User's Shell (7.0.1 12/13/89) Bcc: mgflax@panix.com Status: OR