#!/usr/bin/env bashset-euopipefail
f="dpibreak.1"if[!-f"$f"];thenecho"pre-commit: dpibreak.1 not found (run cargo build first)"exit1fimd=${f}.md
pandoc-fman-tgfm--shift-heading-level-by=1"$f"-o"$md"[-f"$md"]&&gitadd"$md"echo"pre-commit: generated $md from $f"exit0