Path: utzoo!utstat!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!jarthur!uunet!sceard!mrm From: mrm@sceard.Sceard.COM (M.R.Murphy) Newsgroups: news.software.b Subject: Error in lazy expire Message-ID: <1990Nov15.154423.14139@sceard.Sceard.COM> Date: 15 Nov 90 15:44:23 GMT Reply-To: mrm@Sceard.COM (M.R.Murphy) Organization: Sceard Systems, Inc., San Marcos, CA 92069 Lines: 27 In article <1990Nov8.004259.10413@sceard.Sceard.COM>, I wrote about a lazy way of performing the two functions of expire, maintenance of history and removal of old articles. In editing our trasher (the script that removes old articles) to remove statements that log what's going on to syslog, I took out one too many lines. Sorry! The if statment: ----- if [ $LC -lt $HILIM ] ; then find $GRP -type f $FLGS -print 2>/dev/null|xargs rm -f else break fi ----- should be: ----- if [ $LC -lt $HILIM ] ; then GRP=`echo $GRP|sed -e '/^in.coming/q' -e '/^out.going/q' -e 's/\./\//g'` find $GRP -type f $FLGS -print 2>/dev/null|xargs rm -f else break fi ----- Has anyone tried any of this stuff? -- Mike Murphy mrm@Sceard.COM ucsd!sceard!mrm +1 619 598 5874