1PRUNEHISTORY(8) InterNetNews Documentation PRUNEHISTORY(8)
2
3
4
6 prunehistory - Remove tokens from Usenet history file
7
9 prunehistory [-p] [-f filename]
10
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 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
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
37 Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews. Converted
38 to POD by Julien Elie.
39
41 history(5), innd(8), libinn_dbz(3).
42
43
44
45INN 2.7.1 2022-07-10 PRUNEHISTORY(8)