1 2 3
#!/bin/sh find . -type f -name "*.1" -exec sh -c 'mandoc -T html -O style=./style.css "$0" > "${0%.*}.html"' {} \;