#!/bin/sh case "${1}" in -h | --help | help ) echo 'usage: mkov.sh < gameboard.md' >&2 exit 0 ;; esac echo '# Overview' echo grep -E '^#{1,6}' \ | grep -Evi '^### (palette|focus|legacies)' \ | sed -e 's/^# /* /g' \ -e 's/^## / * /g' \ -e 's/^### / * /g' \ -e 's/^#### / * /g' \ -e 's/^##### / * /g' \ -e 's/^###### / * /g' : eof