Thread View: news.software.readers
6 messages
6 total messages
Started by Tim S.
Wed, 22 Jan 1997 00:00
Help w/ Killfile in NX
Author: Tim S.
Date: Wed, 22 Jan 1997 00:00
Date: Wed, 22 Jan 1997 00:00
20 lines
1689 bytes
1689 bytes
I was wondering if anyone happened to know how I might be able to filter out those annoying posts that start out with "$$$" and stuff like that. I enter a $ in the killfile line, but since it reads it as UNIX commands it selects all and I get no articles available. Is there any way that I can get around this? Thanks much. Tim ------------------------------------------------------------------------- "Life is like a box of chocolates -- a cheap, thoughtless perfunctory gift that nobody ever asks for; unreturnable, because all you get back is another box of chocolates. So you're stuck with this undefinable whipped mint crap that you mindlessly wolf down and there's nothing left to eat. Sure, once in awhile there s a peanut butter cup or English toffee, but they re gone too fast and the taste is fleeting. So you end up with nothing but broken bits filled with hardened jelly and teeth-shattering nuts. If you're desperate enough to eat those all you've got left is an empty box filled with useless brown paper wrappers." The Cigarette-Smoking Man X-Files -------------------------------------------------------------------------
Re: Help w/ Killfile in NX
Author: William G. Simeon
Date: Fri, 24 Jan 1997 00:00
Date: Fri, 24 Jan 1997 00:00
43 lines
3067 bytes
3067 bytes
In article <5c651l$bnc_001@cac.psu.edu>, tss131@email.psu.edu (Tim S.) wrote: >I was wondering if anyone happened to know how I might be able to filter out >those annoying posts that start out with "$$$" and stuff like that. I enter a >$ in the killfile line, but since it reads it as UNIX commands it selects all >and I get no articles available. Is there any way that I can get around this? > Thanks much. > > Tim > > > >------------------------------------------------------------------------- >"Life is like a box of chocolates -- a cheap, thoughtless perfunctory gift that > nobody ever asks for; unreturnable, because all you get back is another box of > chocolates. So you're stuck with this undefinable whipped mint crap that you > mindlessly wolf down and there's nothing left to eat. >Sure, once in awhile there s a peanut butter cup or English toffee, but they re > gone too fast and the taste is fleeting. So you end up with nothing but broken > bits filled with hardened jelly and teeth-shattering nuts. If you're desperate > enough to eat those all you've got left is an empty box filled with useless > brown paper wrappers." > > The Cigarette-Smoking Man > X-Files >------------------------------------------------------------------------- NX uses regular expressions in it's kill file. If you put in just a $ it equates to "end of line" and will match all subject headers. The solution is to to use \$ (backslash $) This will filter and subject containing a $. ------------------------------------------------------------------------------ * when i die, i'd like to go | W. G. (Bill) Simeon * * peacefully in my sleep, | NCR * * like my grandfather | Starserver FT Support * * | Columbia, SC * * | * * not screaming, like the passengers | * * in his car... | william.simeon@columbiasc.ncr.com * * | * ------------------------------------------------------------------------------
Re: Help w/ Killfile in NX
Author: Spaminator
Date: Sat, 25 Jan 1997 00:00
Date: Sat, 25 Jan 1997 00:00
80 lines
3279 bytes
3279 bytes
In article <5c651l$bnc_001@cac.psu.edu>, tss131@email.psu.edu (Tim S.) wrote: > I was wondering if anyone happened to know how I might be able to filter out > those annoying posts that start out with "$$$" and stuff like that. I enter a > $ in the killfile line, but since it reads it as UNIX commands it selects all > and I get no articles available. Is there any way that I can get around this? Yup. Try this: \$* That will kill ANYTHING with 1, or more, "$" sign ANYWHERE on the subject line. But, if you check out any "For Sale" newsgroups, they'll probably be pretty empty. ;-) I use \$\$*, which should kill anything with 2 or more dollar signs in the subject line. It's hard for me to tell, as I have other kills which would affect this. The "*" sign means there could be 100 of whatever, and it would match them all. (Sorry. I can't put it into better terms.) Here's the NX.HLP file portion of this. ===begin cut=== A regular expression consists of one or more statements separated by '|' character. A statement consists of one or more items. An item consists of zero or more operators, and one or more characters. Any character which is reserved for operator, must be preceded by a blackslash to match it literally. Operator Explanation ? preceeding item is optional * preceeding item occurs zero or more times + preceeding item occurs one or more times ^ matches item at the beginning of a line $ matches item at the end of a line [chars] match any character in the given list of characters; a range of characters may be specified by separating two characters by "-"; for example, [a-z], [A-Z], or [0-9]; to specify "-" literally, make it the first or last character in the list [^chars] match any character not in the given list of characters Example 1: test|ignore|make (\$*|money) This regexp matches any string which contains "test", "ignore", "make $", "make $$", or "make money". Example 2: ok [^a-z0-9]ok[^a-z0-9] The first regexp matches any string which contains "ok", such as "book", "look", or "token"; the second regexp matches any string which contains the word "ok". ===end cut=== EMail address modified to bypass bulk EMailers. Reply to: miketoth@mc.net Learn how to get the spammers, and junk EMailers, back. Go to: http://user.mc.net/~miketoth/index.html Excellent collection of links/URLs and other items so YOU can help in the fight of net abuse! Now: News Xpress "KILLRC" file. Version #4.0 now online. P.S. to junk EMailers: If you send me junk EMail, and say you've seen my post(s), you're in for a WORLD of HURT!!!!!
Re: Help w/ Killfile in NX
Author: Michael Jay Lippert
Date: Sat, 08 Feb 1997 00:00
Date: Sat, 08 Feb 1997 00:00
53 lines
2305 bytes
2305 bytes
In article <5ccdf6$1h0_010@miketoth.mc.net>, Spaminator@stop.spam (Spaminator) wrote: >Yup. Try this: > >\$* > >That will kill ANYTHING with 1, or more, "$" sign ANYWHERE on the subject >line. But, if you check out any "For Sale" newsgroups, they'll probably be >pretty empty. ;-) > >I use \$\$*, which should kill anything with 2 or more dollar signs in the >subject line. It's hard for me to tell, as I have other kills which would >affect this. > >The "*" sign means there could be 100 of whatever, and it would match them >all. (Sorry. I can't put it into better terms.) > >Here's the NX.HLP file portion of this. > > ===begin cut=== >Operator Explanation >? preceeding item is optional >* preceeding item occurs zero or more times >+ preceeding item occurs one or more times Hmm, NX doesn't seem to be following normal regular expression rules (as listed above in its own documentation). The regex "\$\$*" should be the same as "\$+", in other words both should match 1 or more dollar sign. The "*" operator in NX seems to be acting like the "+" operator. On the other hand, the "+" operator seems to have been preempted to mean Autoselect. I'm not really sure about this as I have just started playing with NX's killfiles. I have a question as well. Is putting things on separate lines in the killfile edit box equivalent to separating them with "|"? I just typed in: \$\$* +nx in my news.software.readers subject killfile and it seems to have done what I wanted, marking articles w/ 2 $'s in the subject as read, and selecting those with nx in the subject. But could I have written \$\$*|+nx and accomplished the same thing? Thanx Mike
Re: Help w/ Killfile in NX
Author: Conrad Sabatier
Date: Mon, 10 Feb 1997 00:00
Date: Mon, 10 Feb 1997 00:00
63 lines
2617 bytes
2617 bytes
In article <5dio2s$1ct@krypto.zippo.com>, mlippert@gis.net (Michael Jay Lippert) writes: > In article <5ccdf6$1h0_010@miketoth.mc.net>, Spaminator@stop.spam (Spaminator) wrote: > >>Yup. Try this: >> >>\$* >> >>That will kill ANYTHING with 1, or more, "$" sign ANYWHERE on the subject >>line. But, if you check out any "For Sale" newsgroups, they'll probably be >>pretty empty. ;-) Wrong. That will kill anything with ZERO or more "$"s. >>Here's the NX.HLP file portion of this. >> >> ===begin cut=== >>Operator Explanation >>? preceeding item is optional >>* preceeding item occurs zero or more times >>+ preceeding item occurs one or more times > > Hmm, NX doesn't seem to be following normal regular expression rules > (as listed above in its own documentation). > > The regex "\$\$*" should be the same as "\$+", in other words both > should match 1 or more dollar sign. The "*" operator in NX seems to > be acting like the "+" operator. Not at all. It's zero or more. > On the other hand, the "+" operator > seems to have been preempted to mean Autoselect. I'm not really sure > about this as I have just started playing with NX's killfiles. The "+" indicates auto-select *only* at the beginning of a line. > I have a question as well. Is putting things on separate lines in the > killfile edit box equivalent to separating them with "|"? No. > I just typed in: > \$\$* > +nx > > in my news.software.readers subject killfile and it seems to have done > what I wanted, marking articles w/ 2 $'s in the subject as read, and > selecting those with nx in the subject. > But could I have written > \$\$*|+nx > and accomplished the same thing? No. While I haven't verified it myself (I'm under FreeBSD at the moment), I'd be willing to bet that NX would complain about bad syntax. -- Conrad Sabatier http://www.neosoft.com/~conrads
Re: Help w/ Killfile in NX
Author: Luu Tran
Date: Tue, 11 Feb 1997 00:00
Date: Tue, 11 Feb 1997 00:00
45 lines
1974 bytes
1974 bytes
In article <5dio2s$1ct@krypto.zippo.com>, mlippert@gis.net (Michael Jay Lippert) wrote: >Hmm, NX doesn't seem to be following normal regular expression rules >(as listed above in its own documentation). > >The regex "\$\$*" should be the same as "\$+", in other words both >should match 1 or more dollar sign. The "*" operator in NX seems to >be acting like the "+" operator. On the other hand, the "+" operator >seems to have been preempted to mean Autoselect. I'm not really sure >about this as I have just started playing with NX's killfiles. > As far as I know, * does work as intended. + means one or more of preceding character. When appearing as the first character in the line, + means to autoselect. >I just typed in: >\$\$* >+nx > >in my news.software.readers subject killfile and it seems to have done >what I wanted, marking articles w/ 2 $'s in the subject as read, and >selecting those with nx in the subject. >But could I have written >\$\$*|+nx No, you need to separate them since these are mixed actions (one is kill, the other is autoselect. If you want to kill either foo or bar, you can use foo bar or just foo|bar But if you want to kill foo and autoselect bar, you need foo +bar -- luu
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