Dr Fragen in the operating room

Updating HumaneText.service

·

For the record [HumaneText.service][1] is a Mac OS X service that will convert back and forth between [Markdown][md] and XHTML. As newer versions of Aaron Swartz’s [html2text][2] script and John Gruber’s Markdown script become available updating this service is a simple matter.
1. Copy in the new script to the HumaneText.service package.
2. If updating html2text, create a new symlink to the html2text script named `backward`. Remember to add the shebang line to the script.
`ln -fs html2text.py backward`
3. Set the permissions to 755
4. Log out/log in
Same goes for updating the `Markdown.pl`, but as the name of the script is the same a new symlink is not needed.
This is mostly a record for me to remember how I did it.
[1]: http://gu.st/proj/HumaneText.service/
[2]: http://www.aaronsw.com/2002/html2text/
[md]: http://daringfireball.net/projects/markdown/