Index of /Applications/News/C-News/Feb_1993_Release/expire

Icon  Name                    Last modified      Size  Description
[PARENTDIR] Parent Directory - [   ] pgood 1989-05-02 21:15 252 [TXT] histdups 1991-02-06 19:18 390 [   ] tgood 1989-05-03 03:05 412 [   ] mkadir 1989-05-02 21:00 477 [   ] dircheck 1990-03-07 15:42 545 [TXT] explist.yes 1994-01-28 02:03 549 [   ] expireiflow 1994-01-28 01:35 561 [TXT] explist 1994-01-28 02:04 587 [TXT] explist.no 1994-01-28 02:03 587 [TXT] histslash.c 1991-02-20 16:10 839 [   ] recovact 1994-01-28 01:35 1.3K [   ] upact 1994-01-28 01:35 1.5K [   ] doexpire 1994-01-28 01:35 1.8K [TXT] mkhistory 1994-01-28 01:35 1.9K [TXT] histinfo.c 1991-11-13 17:45 3.0K [TXT] updatemin.c 1991-10-03 15:06 3.8K [TXT] Makefile 1994-01-28 01:35 9.7K [TXT] expire.c 1992-04-20 01:06 29K [   ] histslash 1994-01-28 02:04 47K [   ] histinfo 1994-01-28 02:04 51K [   ] expire 1994-01-28 02:04 93K
C News expire

Unlike the old alpha C News expire, this one will accept old B News history
files... although that slows it down, and this hasn't been tested well.
Beware that the date in the middle field of the history line must be
readable to getdate(3), and rumor hath it that mid-B2.11 dates are not.
Rebuilding your history file in C News format is preferable anyway.
Current releases of B News use C News format, in fact.

It WON'T accept the old experimental C News four-field history files;
we recommend

	awk -F'	' '{ print $1 "	" $2 "~" $3 "	" $4 }'

(those are tabs in the quotes after the -F and the empty-looking quotes
in the awk program) as a conversion aid.

"make r" will compile everything and run a complex set of regression tests,
checking the results automatically.  If nothing screams, there is a high
probability that expire, upact, and mkhistory are working.

dircheck checks the results of expire regression testing.
histdups, histinfo, and histslash are parts of mkhistory.
updatemin is a C version of upact -- it's vastly faster, but it's
	also the only thing in C News that needs to know how to read
	directories, which is a portability hassle, so it's not the default.
	Compile it with -DBERKDIR if you have 4BSD directory functions
	rather than standard (POSIX) ones.  "make r UPACT=updatemin"
	will include it in the regression test.
pgood and tgood are regression-test output-should-look-like-this files.
mkadir is what expire invokes to create archiving subdirectories.