Thread View: news.software.readers
1 messages
1 total messages
Started by Tom Newton
Wed, 09 Apr 2008 07:50
[LEAFNODE] Best Way To Test Filters
Author: Tom Newton
Date: Wed, 09 Apr 2008 07:50
Date: Wed, 09 Apr 2008 07:50
42 lines
2158 bytes
2158 bytes
In order to see exactly how my filter is working, I've been running script then: fetchnews -n -v -D33 -e Then running the resulting file "typescript" through grep: grep "^<[0-9][0-9][0-9][0-9][0-9]*\|matched" This gives a long list of the xover information for each post, then a "matched" line if the post matched. An example (reformatted from three lines): <30221993 Re: Help for GG users to switch from GG Mike Dee <emteedee@invalid.invalid> Wed, 9 Apr 2008 06:02:52 +0000 (UTC) <Xns9A7BA33D7A4DBemteedee@193.201.53.67> <tebqkiert3yc.470l3f3qyr7p$.dlg@40tude.net> <pan.2008.04.06.21.57.55.399626@thurston.blinkynet.net> <1p0zsnptsgiab.qewegdsuncd6$.dlg@40tude.net> <Xns9A7AE0C0589E9emteedee@193.201.53.67> <a8723aa5-56f1-4002-bc8f-fab8c0f63e32@a23g2000hsc.googlegroups.co m> <Xns9A7B7B4A39758emteedee@193.201.53.67> 2604 24 Xref: amsnews11.chello.com news.software.readers:30221993 pcre filter: /^Subject: .*/ matched regexp filter: detail: "Subject: Re: Help for GG users to switch from GG" =~ /^Subject: .*/ matched ---------------------------------------------------------------- Crude, but it works. I can tell what post has been killed and figure out why, if it isn't obvious. Anyone know a better way? Tom -- The Truth will set you free: http://www.sethcenter.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads