#!/bin/sh # # mmd2opml --- MultiMarkdown convenience script # # Fletcher T. Penney # # Pass arguments on to the binary to convert text to OPML # # Be sure to include multimarkdown in our PATH export PATH="$PWD:/usr/local/bin:$PATH" which multimarkdown > /dev/null if [ $? = 1 ] then echo multimarkdown executable not found! >&2 exit 1 fi if [ $# = 0 ] then multimarkdown -t opml else until [ "$*" = "" ] do multimarkdown -b -t opml "$1" shift done fi