Update of /cvsroot/mailman/mailman/contrib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9196

Modified Files:
      Tag: Release_2_1-maint
        mmdsr 
Log Message:
Update Brad Knowles' mailman daily status report to version 0.0.16.

Index: mmdsr
===================================================================
RCS file: /cvsroot/mailman/mailman/contrib/mmdsr,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -d -r1.1.2.3 -r1.1.2.4
--- mmdsr       29 Jan 2006 12:55:26 -0000      1.1.2.3
+++ mmdsr       29 Jan 2006 17:40:36 -0000      1.1.2.4
@@ -144,6 +144,11 @@
 #              as opposed to just doing a directory listing and skipping
 #              the files in the middle if there are too many -- now we
 #              know how many are being skipped.
+#
+# 0.0.16       Update by Brad Knowles <[EMAIL PROTECTED]>
+#              Updated on: Sun Jan 29 11:45:58 CET 2006
+#              Mark found a couple of typos that I somehow let slip
+#              through.  Thanks!
 
 ###############################################################################
 # Set up locations of standard commands, directories, etc....
@@ -297,9 +302,9 @@
     $TOUCH $TMPLOG
     echo "Log file: $LOG" >> $TMP
     echo "==============================" >> $TMP
-    $SED -e :a -e '$!N;s/\n //;ta' -e 'P;D' $LOGDIR/$LOG | $GREP -si "^$DAY 
[0-9][0-9:]* $YEAR" >> $TMPLOG
 
     if [ -f "$LOGDIR/${LOG}" ] ; then
+    $SED -e :a -e '$!N;s/\n //;ta' -e 'P;D' $LOGDIR/$LOG | $GREP -si "^$DAY 
[0-9][0-9:]* $YEAR" >> $TMPLOG
 
        if [ "${LOG}" = "post" ] ; then
 
@@ -466,7 +471,6 @@
            echo "" >> $TMP
            echo "Other Errors:" >> $TMP
            echo "------------------------------" >> $TMP
-MYUID=`$PS -o user -p $$ | $TAIL -1`
            $EGREP -vi '(Post by non-member|suspicious header|message 
approved|Discarded posting|bulk message discarded|junk message 
discarded|Message has implicit destination|Posting to a moderated 
newsgroup|Post to moderated list|Message discarded, msgid)' $TMPLOG | $SED -e 
's/^.* ([0-9]*) //' -e 's/, message-id=<[^> ]*>:/:/' | $SORT | $UNIQ -c | $SORT 
-nr >> $TMP 
 
        elif [ "${LOG}" = "smtp-failure" ] ; then

_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to