Vimal,

On Sat, Aug 16, 2014 at 4:02 AM, Vimal Kumar V. <vimal0...@gmail.com> wrote:
> May I know number of postings (month wise) in Koha discussion forum,
> http://lists.katipo.co.nz/pipermail/koha/
<snipped>

An ugly bit of bash script that will do the job for you, provided you
have 'curl' installed on the system.

clear; echo -n "Enter the Year and press [ENTER]: "; read YEAR; echo
-n "Enter the Month and press [ENTER]: "; read MONTH; mailcount=`curl
-s "http://lists.katipo.co.nz/pipermail/koha/${YEAR}-${MONTH}/thread.html";
| grep -m 2 "<p>" | tail -n 1 | cut -d " " -f 11 | cut -f 1 -d "<"`;
echo " "; echo "The mail count for $MONTH of $YEAR was $mailcount";

cheers,
-indra

-- 
Indranil Das Gupta

Phone : +91-98300-20971
Blog    : http://indradg.randomink.org/blog
IRC      : indradg on irc://irc.freenode.net
Twitter : indradg

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-
Please exchange editable Office documents only in ODF Format. No other
format is acceptable. Support Open Standards.

For a free editor supporting ODF, please visit LibreOffice -
http://www.documentfoundation.org
_______________________________________________
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha

Reply via email to