Path: utzoo!utgpu!watmath!clyde!att!cuuxb!dlm From: dlm@cuuxb.ATT.COM (Dennis L. Mumaugh) Newsgroups: news.software.b Subject: undocumetned feature: expire -R Summary: rebuilds dbm files Message-ID: <2528@cuuxb.ATT.COM> Date: 25 Feb 89 21:12:54 GMT Reply-To: dlm@cuuxb.UUCP (Dennis L. Mumaugh) Organization: ATT Data Systems Group, Lisle, Ill. Lines: 15 After battling an expire bug for some time I read expire.c and found a magic switch -R in expire. If you use the dbm routines, this rebuilds history.pag and history.dat and nothing more. Its major use is when there is a munged article id or "unparseable" date in the history file. Use sed to remove the offending line(s) and the use expire -R to rebuild the data files for dbm. Of course, the articles whose lines are removed will never be expired unless you either run find or expire -r -I -h . -- =Dennis L. Mumaugh Lisle, IL ...!{att,lll-crg}!cuuxb!dlm OR cuuxb!dlm@arpa.att.com