Article View: news.software.readers
Article #10725Re: "trn -p" for multiple usernames.
From: Steven King, Software Archaeolog...
Date: Mon, 08 Aug 1994 15:01
Date: Mon, 08 Aug 1994 15:01
43 lines
2884 bytes
2884 bytes
mgflax@panix.com (Marshall G. Flax) publicly declared:
>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?
You can't. The -p flag is only a shorthand way for trn to select posts
based on your current email address.
What you need to do instead is to create a memorized command ("KILL")
file which contains selection commands for your alternate address. This
works for any address -- Anonymous servers, alternate accounts you have
at other sites, or even friends you just want to keep tabs on. Use "^K"
to create a KILL file for a specific group, or to create a global KILL
file which will be run on all groups. In the file put...
/anXXXXXX@anon.penet.fi/Hfrom:+
This tells trn to select all posts that have that address in the From:
line. If you want to simulate the -p option and have trn select the
entire sub-thread, try...
/anXXXXXX@anon.penet.fi/Hfrom:T,
Trn also has a "f" modifier. You might be tempted to try this same
trick with "/anXXXXXX@anon.penet.fi/f:+". That looks like it'll do the
same thing, but the "f" modifier only looks at the name in the overview
file. Only the fullname ("John H. Smith") is kept in the overview file,
not the userid. The "f" flag won't tend to match if you try to use it
to select userids. (Wayne, would you correct me if I'm wrong about
this?)
You can use this same trick to select (or junk!) all users at a
particular site. The first example selects all anonymous posts, the
second junks them all. Many people swear by the second form!
/@anon.penet.fi/Hfrom:+
/@anon.penet.fi/Hfrom:j
--
----------------------------------------------<Steven King, king@cig.mot.com>--
Cogito ergo spud. I think, therefore I yam. (Unknown)
I yam wot I yam and dat's all wot I yam. (Popeye)
Technical Details
Message-ID:
<325hc6$ad5@delphinium.cig.mot.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!sun.cais.com!io.org!uunet.ca!uunet.ca!spool.mu.edu!howland.reston.ans.net!pipex!sunic!trane.uninett.no!nac.no!eunet.no!nuug!EU.net!uunet!ftpbox!mothost!delphinium.cig.mot.com!wildebeest!kingReferences:
<320ilp$fio@panix2.panix.com>Show Full Headers
Complete Article Headers
Message-ID: <325hc6$ad5@delphinium.cig.mot.com> Subject: Re: "trn -p" for multiple usernames. Date: Mon, 08 Aug 1994 15:01:26 +0000 From: king@wildebeest.cig.mot.com (Steven King, Software Archaeologist) 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!sun.cais.com!io.org!uunet.ca!uunet.ca!spool.mu.edu!howland.reston.ans.net!pipex!sunic!trane.uninett.no!nac.no!eunet.no!nuug!EU.net!uunet!ftpbox!mothost!delphinium.cig.mot.com!wildebeest!king Newsgroups: news.software.readers Organization: Cellular Infrastructure Group, Motorola Lines: 43 Reply-To: king@wildebeest.cig.mot.com NNTP-Posting-Host: wildebeest.rtsg.mot.com