PRUNEHISTORY(8) | InterNetNews Documentation | PRUNEHISTORY(8) |
prunehistory - Remove tokens from Usenet history file
prunehistory [-p] [-f filename]
prunehistory modifies a history(5)-format text file to "remove" a set of tokens from it. The tokens are removed by overwriting them with spaces, so that the size and position of any following entries does not change. This has an effect similar to expiring the article, in that it is still mentioned in the history database but cannot be retrieved.
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 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 only appends to the text file, prunehistory does not need to have any interaction with it.
Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews. Converted to POD by Julien Elie.
$Id: prunehistory.pod 9447 2012-12-07 19:01:45Z eagle $
2015-09-12 | INN 2.6.4 |