#!/bin/sh echo -n 'building...' rst2s5 --theme-url=ui tutorial.txt | sed 's/^//' > tutorial.html echo '' >> tutorial.html echo done. echo 'Opening...' echo firefox -remote "openURL(file://$PWD/tutorial.html,new-window)" firefox -remote "openURL(file://$PWD/tutorial.html,new-window)"