comparison docs/noffle.conf.5 @ 134:7dfbb1c20a81 noffle

[svn] k and m suffices on filter numbers
author bears
date Wed, 16 Aug 2000 00:08:13 +0100
parents 8897b7e3b108
children 1c7303c71f66
comparison
equal deleted inserted replaced
133:ffb8a4a91218 134:7dfbb1c20a81
1 .TH noffle.conf 5 1 .TH noffle.conf 5
2 .\" $Id: noffle.conf.5 189 2000-08-09 21:19:17Z bears $ 2 .\" $Id: noffle.conf.5 199 2000-08-15 23:08:13Z bears $
3 3
4 .SH NAME 4 .SH NAME
5 noffle.conf \- Configuration file for NOFFLE news server 5 noffle.conf \- Configuration file for NOFFLE news server
6 6
7 .SH DESCRIPTION 7 .SH DESCRIPTION
342 .IR <number> . 342 .IR <number> .
343 Matches if the number of groups the article is posted to is less 343 Matches if the number of groups the article is posted to is less
344 than, equal to, or greater than the given number. 344 than, equal to, or greater than the given number.
345 345
346 .PP 346 .PP
347 Numbers may have a suffix of 'k' or 'm'. As you might expect, 'k'
348 indicates the number is to be multiplied by 1024 and 'm' indicates
349 it is to be multiplied by 1024*1024. Thus 10k is 10240 and 1m is 1048576.
350
351 .PP
347 For example, the following filters download all articles in groups 352 For example, the following filters download all articles in groups
348 in the alt.binaries tree in full if they are < 10k in size, otherwise 353 in the alt.binaries tree in full if they are < 10k in size, otherwise
349 downloads overviews. 354 downloads overviews.
350 .PP 355 .PP
351 .I filter group=alt.binaries.* bytes < 10240 action=full 356 .I filter group=alt.binaries.* bytes < 10k action=full
352 .br 357 .br
353 .I filter group=alt.binaries.* action=over 358 .I filter group=alt.binaries.* action=over
354 .PP 359 .PP
355 This filter discards all articles with a subject resembling 360 This filter discards all articles with a subject resembling
356 the infamous "$$$ Make Money Now! $$$". 361 the infamous "$$$ Make Money Now! $$$".