2
0

produce_html.sh 185 B

1234567891011121314
  1. #!/bin/sh
  2. existence()
  3. {
  4. command -v "$1" >/dev/null 2>&1
  5. }
  6. if existence mandoc;
  7. then
  8. for f in `find . -name \*\.[1-9]`;
  9. do
  10. mandoc -T html $f > $f.html;
  11. done
  12. fi