#!/bin/bash

echo "<html><p>" > ~/Dropbox/rm/non-db-texts/news.html
cat ~/Dropbox/news-dumped.txt | awk ' /^$/ { print "</p>"; print $0; print "<p>" } /./ { print $0; }' >> ~/Dropbox/rm/non-db-texts/news.html
echo "</p></html>" >> ~/Dropbox/rm/non-db-texts/news.html
cd ~/Dropbox/rm/ && make publish
