------------------------------------------------------------
revno: 1143
committer: Mark Sapiro <[EMAIL PROTECTED]>
branch nick: 2.1
timestamp: Tue 2008-12-02 16:18:14 -0800
message:
  Updated mmdsr to 0.0.19 correcting a minor fromusenet reporting error.
modified:
  contrib/mmdsr

=== modified file 'contrib/mmdsr'
--- a/contrib/mmdsr     2008-06-07 16:37:07 +0000
+++ b/contrib/mmdsr     2008-12-03 00:18:14 +0000
@@ -154,6 +154,7 @@
 #              Updated on: Thu Jan  3 18:25:06 PST 2008
 #              Enabled processing the prior generation of a rotated log.
 #              Added SORT_FIELD to the user modifiable parameters.
+#
 # 0.0.18       Update by Mark Sapiro <[EMAIL PROTECTED]>
 #              Updated on: Tue May 13 08:58:26 PDT 2008
 #              Changes for Mailman 2.1.10 --
@@ -161,6 +162,12 @@
 #              Made listing of a queue directory conditional on existence.
 #              Sumarized unparseable messages and preserved queue entries
 #              in the Other Errors section.
+#
+# 0.0.19       Update by Mark Sapiro <[EMAIL PROTECTED]>
+#              Updated on: Sun Nov 30 10:26:15 PST 2008
+#              Changed processing of fromusenet posts.  Previously, mmdsr
+#              reported as gated only the first and last of a gated range.
+#              Now mmdsr reports every post from the 'posted to' entries.
 
 ###############################################################################
 # Set up locations of standard commands, directories, etc....
@@ -350,14 +357,14 @@
 
        elif [ "${LOG}" = "fromusenet" ] ; then
 
-           GRPS=`$EGREP -vi '(watermark:|nothing new| posted to |: 
\[[0-9\.]*\])' $TMPLOG | $GREP -i ' gating ' | $AWK '{ print $7 }' | $SORT -u | 
$FMT -w 75`
+           GRPS=`$EGREP -vi '(watermark:|nothing new| gating |: \[[0-9\.]*\])' 
$TMPLOG | $GREP -i ' posted to ' | $AWK '{ print $9 }' | $SED -e 's/:$//' | 
$SORT -u | $FMT -w 75`
 
            for GRP in $GRPS
            do
                echo "" >> $TMP
                echo "$GRP Article #'s Gated:" >> $TMP
                echo "------------------------------" >> $TMP
-               $EGREP -vi '(watermark:|nothing new| posted to |: 
\[[0-9\.]*\])' $TMPLOG | $GREP -i " gating " | $GREP -i " $GRP " | $SED -e 
's/^.*\[//' -e 's/\]$//' -e 's/\.\./ /' | $TR ' ' '\n' |  $SORT -u | $FMT -w 75 
>> $TMP
+               $EGREP -vi '(watermark:|nothing new| gating |: \[[0-9\.]*\])' 
$TMPLOG | $GREP -i " posted to " | $GREP -i " $GRP: " | $AWK '{print $10}' |  
$SORT -u | $FMT -w 75 >> $TMP
            done
 
        elif [ "${LOG}" = "smtp" ] ; then



--
Stable, maintained release series
https://code.launchpad.net/~mailman-coders/mailman/2.1

You are receiving this branch notification because you are subscribed to it.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to