#!/bin/sh ( cat <&1 | sed 's/^\( *\|usage: \)/\t/' cat <&1 cat <doc.go gofmt -w doc.go ( cat <". Below are all examples included in mox. EOF for ex in $(./mox example); do echo '# Example '$ex echo ./mox example $ex | sed 's/^/\t/' echo done cat <config/doc.go gofmt -w config/doc.go