prunehistory(8) - Linux man page
Name
prunehistory - remove tokens from Usenet history fileSynopsis
prunehistory [ -f filename ] [ -p ]Description
Prunehistory reads the standard input. The input is taken as a set of lines. Blank lines and lines starting with a number sign (''#'') are ignored. All other lines are should consist of a Message-ID followed by zero or more other fields (which are ignored).
The Message-ID is used as the dbz(3) key to get an offset into the text file.
Since innd(8) only appends to the text file, prunehistory does not need to have any interaction with it.
Options
- -p
- Prunehistory will normally complain about lines that do not follow the correct format. If the ''-p'' flag is used, then the program will silently print any invalid lines on its standard output. (Blank lines and comment lines are also passed through.) This can be useful when prunehistory is used as a filter for other programs such as reap.
- -f filename
- The default name of the history file is <pathdb in inn.conf>/history; to specify a different name, use the ''-f'' flag.