👤
Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

RedHat 9 (Linux i386) - man page for prunehistory (redhat section 8)

PRUNEHISTORY(8) 								  PRUNEHISTORY(8)

NAME
       prunehistory - remove file names from Usenet history file

SYNOPSIS
       prunehistory [ -f filename ] [ -p ]

DESCRIPTION
       Prunehistory  modifies  the history(5) text file to ``remove'' a set of filenames from it.
       The filenames are removed by overwriting them with spaces, so that the size  and  position
       of any following entries does not change.

       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 filenames.

       The Message-ID is used as the dbz(3) key to get an offset into the text file.  If no file-
       names are mentioned on the input line, then all filenames in the text are ``removed.''  If
       any  filenames  are mentioned, they are converted into the history file notation.  If they
       appear in the line for the specified Message-ID then they are removed.

       Since innd(8) only appends to the text file, prunehistory does not need to have any inter-
       action with it.

OPTIONS
       -p     Prunehistory will normally complain about lines that do not follow the correct for-
	      mat.  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  pro-
	      grams such as reap.

       -f     The  default name of the history file is <pathdb in inn.conf>/history; to specify a
	      different name, use the ``-f'' flag.

HISTORY
       Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews.  This is revision  1.7,  dated
       1998/04/09.

SEE ALSO
       dbz(3), history(5), inn.conf(5), innd(8).

										  PRUNEHISTORY(8)


All times are GMT -4. The time now is 10:46 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?