Article View: news.software.readers
Article #7274Re: Selection based on Message-ID in trn?
From: Wayne Davison
Date: Tue, 11 Jan 1994 20:43
Date: Tue, 11 Jan 1994 20:43
44 lines
2141 bytes
2141 bytes
According to John Red-Horse <jrredho@sandia.gov>: > How does one make a selection in trn based on the message's > message-id. I assume you aren't talking about a repeat selection via the memorized commands, because the easiest way to do that is to use the 'T' command on the article you wish to select (T. to select this article and its replies, or T+ (which is the default if you type T<space>) to select this article and all other articles in its thread). In other words, I assume you have a message id you snagged from somewhere, and you'd like to track it down. Hmmm... Maybe there should be a command added for that since a check of the internal message-id hash would be really quick. However, your search method should work just fine: > /id/Hmessage-id:m+ and be nearly as fast, since all the message-id headers are cached. I just tried out the following command, and it worked as expected: /<1994Jan6.025952.3447@martha.utcc.utk.edu>/Hmessage-id:m+ Perhaps you mis-typed the id? Or maybe you don't have a recent version of trn? 3.4.1 is the latest (see ftp.uu.net:news/readers/trn). > Then, I tried > > /id/h:m+ > > [..] Apparently, the ``References'' header was being matched. True, this was matching the whole header. You could do: /^Message-ID:.*<id>/h:m+ and have it match the same articles as: /<id>/Hmessage-id:m+ just not as quickly. -- Wayne Davison davison@borland.com
Technical Details
Message-ID:
<CJHG7z.322@borland.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!gmd.de!xlink.net!zib-berlin.de!cs.tu-berlin.de!zrz.TU-Berlin.DE!netmbx.de!Germany.EU.net!EU.net!uunet!elroy.jpl.nasa.gov!decwrl!borland.com!davisonReferences:
<2guhe8$fqn@universe.digex.net>Show Full Headers
Complete Article Headers
Message-ID: <CJHG7z.322@borland.com> Subject: Re: Selection based on Message-ID in trn? Date: Tue, 11 Jan 1994 20:43:10 GMT From: davison@borland.com (Wayne Davison) References: <2guhe8$fqn@universe.digex.net> 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!gmd.de!xlink.net!zib-berlin.de!cs.tu-berlin.de!zrz.TU-Berlin.DE!netmbx.de!Germany.EU.net!EU.net!uunet!elroy.jpl.nasa.gov!decwrl!borland.com!davison Newsgroups: news.software.readers Organization: Borland International Lines: 44