bash one-liner to check how many pyweek entries there are so far

$ echo $(curl -s http://pyweek.org/13/entries/ | grep "<tr>" -c) / 2 | bc
12


sorry guys, I get a little excited about PyWeek!

(log in to comment)

Comments

curl -s http://pyweek.org/13/entries/ |grep "entry-d" -c| wc -l

I tried putting tr tags in the description of my entry. It did mess with the numbers. Sadly it also made a mess of the entries page, so I had to remove them again.

:)