DarcsWeeklyNews/tools/changestoblog.sh

1
2
3
4
5
6
7
8
9
#!/bin/bash

if [ $# -ne 1 ]; then
  echo "Usage: $0 entry"
  exit 1
fi

chmod u+x ./toblog.pl
pandoc -f markdown -t html $1 | ./toblog.pl $1 > entry.html