karish@mindcraft.com (Chuck Karish) (12/08/90)
In article <1990Dec7.130639.15803@bnr.ca> janick@bnr.ca (Janick Bergeron) writes: >For the last few days, I keep receiving the following message from >Cnews/expire: > >expire problems: >expire: wrong number of fields in ` 660190899~-...' > >(Note: that's a <TAB> between the '`' and the first '6') > >How do I locate the offending article and force its expiry ?? There are two problems to deal with: - fixing the history file so you stop getting mail from expire - expiring the article #1: sed '/^\t660190899~-/d' < history > history.fixed #2: Use 'grep' instead of 'sed', and look at the file name on the end of the line. If the file name isn't there, it's already been expired. Alternate solution: Just leave the file there. Put an entry into crontab to remove articles older than the maximum age in your explist file. New question: What causes the history lines to be mangled in the first place? I'm getting about eight or ten of them a month. Is it related to having my spool disk fill up? -- Chuck Karish karish@mindcraft.com Mindcraft, Inc. (415) 323-9000