# !/bin/sh
wget -c https://raw.githubusercontent.com/vhf/free-programming-books/master/free-programming-books.md
csplit -s free-programming-books.md "/###/" {*}
for i in $(ls xx*)
do
echo $(grep -c "^ *" $i) $(head -n 1 $i | sed "s/#//g")
done | sort -n -r > statistic