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       -f filename
33           The default name of the history file is pathdb/history; to specify
34           a different name, use the -f flag.
35

HISTORY

37       Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews.  Converted
38       to POD by Julien Elie.
39
40       $Id: prunehistory.pod 9447 2012-12-07 19:01:45Z eagle $
41

SEE ALSO

43       dbz(3), history(5), innd(8).
44
45
46
47INN 2.6.3                         2015-09-12                   PRUNEHISTORY(8)
Impressum