[news.software.b] Error in lazy expire

mrm@sceard.Sceard.COM (M.R.Murphy) (11/15/90)

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