1PRUNEHISTORY(8)           InterNetNews Documentation           PRUNEHISTORY(8)
2
3
4

NAME

6       prunehistory - Remove tokens from Usenet history file
7

SYNOPSIS

9       prunehistory [-p] [-f filename]
10

DESCRIPTION

12       prunehistory modifies a history(5)-format text file to "remove" a set
13       of tokens from it.  The tokens are removed by overwriting them with
14       spaces, so that the size and position of any following entries does not
15       change.  This has an effect similar to expiring the article, in that it
16       is still mentioned in the history database but cannot be retrieved.
17
18       prunehistory reads the standard input.  The input is taken as a set of
19       lines.  Blank lines and lines starting with a number sign ("#") are
20       ignored.  All other lines should consist of a message-ID followed by
21       zero or more other fields (which are ignored).  The message-ID is used
22       as the dbz(3) key to get an offset into the text file.  Since innd only
23       appends to the text file, prunehistory does not need to have any
24       interaction with it.
25

OPTIONS

27       -p  prunehistory will normally complain about lines that do not follow
28           the correct format.  If the -p flag is used, then the program will
29           silently print any invalid lines on its standard output.  (Blank
30           lines and comment lines are also passed through.)
31
32           This can be useful when prunehistory is used as a filter for other
33           programs such as reap (a legacy program, probably no longer useful
34           with current versions of INN, but still available at
35           ftp://ftp.ruhr-uni-bochum.de/.subdisc1/local/jk.collection/
36           <ftp://ftp.ruhr-uni-bochum.de/.subdisc1/local/jk.collection/>).
37
38       -f filename
39           The default name of the history file is pathdb/history; to specify
40           a different name, use the -f flag.
41

HISTORY

43       Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews.  Converted
44       to POD by Julien Elie.
45
46       $Id: prunehistory.pod 8592 2009-08-20 23:46:25Z eagle $
47

SEE ALSO

49       dbz(3), history(5), innd(8).
50
51
52
53INN 2.5.2                         2010-08-11                   PRUNEHISTORY(8)
Impressum