]> git.armaanb.net Git - lightcards.git/blob - contrib/manconvert
Remove CursesError exception
[lightcards.git] / contrib / manconvert
1 #!/usr/bin/env sh
2 find man/*.md | \
3 while read i; do
4   base=$(echo ${i} | cut -d '.' -f -2)
5   pandoc ${i} -s -t man -o ${base}
6   sed -i "s/VERSION_HERE/$(python3 -m lightcards -v)/g" ${base}
7 done