Created
January 26, 2010 17:27
-
-
Save nes1983/287022 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TMPFILE=`(mktemp -t makertf.html)` | |
trap "rm -f '$TMPFILE'" 0 # EXIT | |
trap "rm -f '$TMPFILE'; exit 1" 2 # INT | |
trap "rm -f '$TMPFILE'; exit 1" 1 15 # HUP TERM | |
echo '<!DOCTYPE html> <meta charset="UTF-8"> <title>Stallman</title>' > $TMPFILE | |
MultiMarkdown.pl --html4tags press\ release.mdown >> $TMPFILE | |
textutil -convert rtf -output "press release.rtf" $TMPFILE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment