🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #30800

Re: Q (naive): tin filter syntax

#30800
From: Ru Igarashi
Date: Wed, 05 Feb 1997 00:00
32 lines
1676 bytes
Robert S Kissel (Rsk@cris.com) wrote:
>I can't seem to find an orderly explanation of the syntax of the filter
>file used by tin; specifically, I do not know whether the asterisks around
>strings are delimiters, or suggest "any string CONTAINING..."
>
>Can someone more experienced point me in the right direction?

The '*' functions similarly as the Unix csh wild card, thus
"any string CONTAINING...".  For example, I have a filter
which "auto-selects" posts with a subject containing "RFD"
(I've been expecting one) and so my filter enty looks like:

group=<whatever>
type=1
case=0
subj=*RFD*

And that should catch any posts that look like
RFD: some.group reorganization
What about some.group.music? (was RFD: some.group reorganization)

Beyond that, I don't know.  Oh, you can escape special characters
with a '\'. For example I think '[' and ']' are used for Unix
like range wild carding (ok, that's yet another), and so if a
subject I wanted to kill had '[' included as a recognizable tag
I would use "subj=\[stuff\]".  I hope I'm right about some of
this and that it helps.

ru

Technical Details
Message-ID: <5d975h$mj2@tribune.usask.ca>
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: <5d6die$rep@chronicle.concentric.net>

Show Full Headers
Complete Article Headers
Message-ID: <5d975h$mj2@tribune.usask.ca>
Subject: Re: Q (naive): tin filter syntax
Date: Wed, 05 Feb 1997 00:00:00 +0000
From: ru@skatter.usask.ca (Ru Igarashi)
References: <5d6die$rep@chronicle.concentric.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: 214547508
Organization: University of Saskatchewan
Newsgroups: news.software.readers