#!/bin/sh # usage: svg_to_md.sh if [ $# -ne 2 ]; then echo "usage: svg_to_md.sh " exit 1 fi echo "
" > "$2" tail +2 "$1" | sed '/^\s*$/d' >> "$2" echo "
" >> "$2"