liste yoneticisi wrote: > Its OK. > > I want to share the script: > ----------------- > #!/bin/bash > > MONTH=`date +'%b'` > echo $MONTH > MAILMANDIR=/cwis/htdocs/mailman > POSTLOG=$MAILMANDIR/logs/post > LISTLISTS=$MAILMANDIR/bin/list_lists > LISTMEMBERS=$MAILMANDIR/bin/list_members > LISTOWNERS=$MAILMANDIR/bin/list_owners > echo "Listname Posts Members" > echo "=========================" > > echo $LISTOWNERS > > for list in `$LISTLISTS | grep -v "matching mailing lists found" | awk > '{print $1}'` > do > listlow=`echo $list | tr A-Z a-z` > listupp=`echo $list | tr a-z A-Z` > ownlist=`$LISTOWNERS $listlow | head` > postnum=`grep "^$MONTH" $POSTLOG | grep -i "post to $list" | wc -l` > membernum=`$LISTMEMBERS $list | wc -l` > echo $list " | " $ownlist " | " $postnum " | " $membernum > done > ----------- > > Of course some estetic corrections are needed. > > But this isn't completed. I also want to add list creation date. > We used to work on Listproc and we had a statistic script including the > columns about list description and list creation date. > > description can be added but how can i add creation date? > > ---------------- > Liste Yoneticisi > http://e-list.cc.metu.edu.tr > http://e-liste.bidb.odtu.edu.tr > > On Fri, 25 Aug 2006, liste yoneticisi wrote: > > I am trying to write the script on bash > > How can i use transrom to lower/upper commands? > > the manuals on the web didn't work. > ---------------- > Liste Yoneticisi > http://e-list.cc.metu.edu.tr > http://e-liste.bidb.odtu.edu.tr > > On Fri, 25 Aug 2006, Andreas Schulze wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > >> how can i solve the problem? >> > uppercase Listnames as reported by list_lists throw errors in list_owner > -> convert listnames to lower > > - -- > Andreas Schulze > > DATEV eG, Paumgartner Strasse 6-14, D - 90429 Nürnberg > Abt. Internet- und Securitydienste > Telefon : +49 911 276 2648 > Telefax : +49 911 276 7892 > Mobil : +49 172 8122883 > E-Mail : andreas.schulze_at_datev.de > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQFE7uswA7Vnk6fbpn8RAneiAJ4zFgTz81ChOn18diW35nwm4u2mkgCeLlsm > aSMWcSGEnO3+PgMjWdUJYnQ= > =vnzO > -----END PGP SIGNATURE----- > ------------------------------------------------------ > Mailman-Users mailing list > Mailman-Users@python.org > http://mail.python.org/mailman/listinfo/mailman-users > Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py > Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ > Unsubscribe: > http://mail.python.org/mailman/options/mailman-users/listeyon%40metu.edu.tr > > Security Policy: > http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp > ------------------------------------------------------ > Mailman-Users mailing list > Mailman-Users@python.org > http://mail.python.org/mailman/listinfo/mailman-users > Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py > Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ > Unsubscribe: > http://mail.python.org/mailman/options/mailman-users/perl%40ipchains.ru > > Security Policy: > http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp > Whoops, your script is lil buggy:
echo "Listname Posts Members" I use my own perl scripts for that, that generates very nice web-stats, not only for mailman, but for whole userland programms on my machine :-) ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp