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 >
Sorry didn't see the bottom of your message. You can try tolower(3), ex awk{'print tolower("FOO")}' ------------------------------------------------------ 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